From 7159d62c260736fe39f6b54e159621b32ebc6ef8 Mon Sep 17 00:00:00 2001 From: rfjakob Date: Tue, 24 Aug 2021 19:57:32 +0200 Subject: Updated Mounting on login using pam_mount (markdown) --- Mounting-on-login-using-pam_mount.md | 8 ++++---- 1 file 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 `` tag at the bottom: ``` - ``` -Replace `testuser` with your user name. +Replace `YOURUSERNAME` with your user name. PAM config ---------- -- cgit v1.2.3