summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mounting-on-login-using-pam_mount.md11
1 files changed, 9 insertions, 2 deletions
diff --git a/Mounting-on-login-using-pam_mount.md b/Mounting-on-login-using-pam_mount.md
index e11e802..9f74b5e 100644
--- a/Mounting-on-login-using-pam_mount.md
+++ b/Mounting-on-login-using-pam_mount.md
@@ -35,11 +35,18 @@ Replace `YOURUSERNAME` with your user name.
PAM config
----------
-
-An example `/etc/pam.d/sshd` on Fedora 24 and an example `/etc/pam.d/sddm` on Fedora 31 Workstation is shown below. Basically, pam_mount must be called two times:
+PAM config located at `/etc/pam.d/`.
+Basically, pam_mount must be called two times:
1. As the last element in "auth" so it gets the password.
2. As the last element in "session", where it performs the actual mount.
+#### Debian 12
+
+No special config is required, since `/etc/pam.d/common-auth` and `/etc/pam.d/common-session` contains required lines.
+
+#### Fedora 24 example
+An example `/etc/pam.d/sshd` on Fedora 24 and an example `/etc/pam.d/sddm` on Fedora 31 Workstation is shown below.
+
`/etc/pam.d/sshd`
```
#%PAM-1.0