Created
December 14, 2016 10:55
-
-
Save hennevogel/d039b5d242a50263dcd6db849733a2e4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<!DOCTYPE pam_mount SYSTEM "pam_mount.conf.xml.dtd"> | |
<!-- | |
See pam_mount.conf(5) for a description. | |
--> | |
<pam_mount> | |
<!-- debug should come before everything else, | |
since this file is still processed in a single pass | |
from top-to-bottom --> | |
<debug enable="0" /> | |
<!-- Volume definitions --> | |
<volume user="YOURUSER" fstype="crypt" path="/dev/sdb6" mountpoint="/home" /> | |
<volume user="root" fstype="crypt" path="/dev/sdb6" mountpoint="/home" /> | |
<!-- pam_mount parameters: General tunables --> | |
<!-- | |
<luserconf name=".pam_mount.conf.xml" /> | |
--> | |
<!-- Note that commenting out mntoptions will give you the defaults. | |
You will need to explicitly initialize it with the empty string | |
to reset the defaults to nothing. --> | |
<mntoptions allow="nosuid,nodev,loop,encryption,fsck,nonempty,allow_root,allow_other" /> | |
<!-- | |
<mntoptions deny="suid,dev" /> | |
<mntoptions allow="*" /> | |
<mntoptions deny="*" /> | |
--> | |
<mntoptions require="nosuid,nodev,noatime,discard" /> | |
<!-- requires ofl from hxtools to be present --> | |
<logout wait="2000" hup="0" term="yes" kill="yes" /> | |
<!-- pam_mount parameters: Volume-related --> | |
<mkmountpoint enable="1" remove="true" /> | |
</pam_mount> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment