diff options
-rw-r--r-- | Mounting-on-login-using-pam_mount.md | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Mounting-on-login-using-pam_mount.md b/Mounting-on-login-using-pam_mount.md index 9f74b5e..2be29b4 100644 --- a/Mounting-on-login-using-pam_mount.md +++ b/Mounting-on-login-using-pam_mount.md @@ -27,8 +27,13 @@ Put the following into `/etc/security/pam_mount.conf.xml`, just before the closing `</pam_mount>` tag at the bottom: ``` -<volume user="YOURUSERNAME" fstype="fuse" options="nodev,nosuid,quiet" -path="/usr/local/bin/gocryptfs#/home/%(USER)/cipher" mountpoint="/home/%(USER)/plain" /> +<volume +fstype="fuse" +mountpoint="/home/%(USER)/plain" +options="nodev,nosuid,quiet" +path="/usr/local/bin/gocryptfs#/home/%(USER)/cipher" +user="YOURUSERNAME" +/> ``` Replace `YOURUSERNAME` with your user name. |