summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mounting-on-login-using-pam_mount.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mounting-on-login-using-pam_mount.md b/Mounting-on-login-using-pam_mount.md
index 783a055..e11e802 100644
--- a/Mounting-on-login-using-pam_mount.md
+++ b/Mounting-on-login-using-pam_mount.md
@@ -16,8 +16,8 @@ Copy the `gocryptfs` binary into `/usr/local/bin` .
Create a gocryptfs filesystem:
```
-$ mkdir /home/testuser/cipher /home/testuser/plain
-$ gocryptfs -init /home/testuser/cipher
+$ mkdir $HOME/cipher $HOME/plain
+$ gocryptfs -init $HOME/cipher
```
pam_mount config
@@ -27,11 +27,11 @@ Put the following into `/etc/security/pam_mount.conf.xml`, just before
the closing `</pam_mount>` tag at the bottom:
```
-<volume user="testuser" fstype="fuse" options="nodev,nosuid,quiet"
+<volume user="YOURUSERNAME" fstype="fuse" options="nodev,nosuid,quiet"
path="/usr/local/bin/gocryptfs#/home/%(USER)/cipher" mountpoint="/home/%(USER)/plain" />
```
-Replace `testuser` with your user name.
+Replace `YOURUSERNAME` with your user name.
PAM config
----------