summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrfjakob2023-05-03 17:59:38 +0200
committerrfjakob2023-05-03 17:59:38 +0200
commit6cbb7ba6a618e892b24400239376a0cabd8c5fa0 (patch)
tree97e0dfe2463092afd96c7ec7f240b5984fdd34c6
parentbc3ab881317e7e63e042f6342455f4a139e94e04 (diff)
Updated Mounting on login using pam_mount (markdown)
-rw-r--r--Mounting-on-login-using-pam_mount.md9
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.