summaryrefslogtreecommitdiffstats
path: root/Documentation/PAM-configuration.txt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:30:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:30:35 +0000
commit378c18e5f024ac5a8aef4cb40d7c9aa9633d144c (patch)
tree44dfb6ca500d32cabd450649b322a42e70a30683 /Documentation/PAM-configuration.txt
parentInitial commit. (diff)
downloadutil-linux-378c18e5f024ac5a8aef4cb40d7c9aa9633d144c.tar.xz
util-linux-378c18e5f024ac5a8aef4cb40d7c9aa9633d144c.zip
Adding upstream version 2.38.1.upstream/2.38.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Documentation/PAM-configuration.txt')
-rw-r--r--Documentation/PAM-configuration.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/Documentation/PAM-configuration.txt b/Documentation/PAM-configuration.txt
new file mode 100644
index 0000000..046a177
--- /dev/null
+++ b/Documentation/PAM-configuration.txt
@@ -0,0 +1,31 @@
+
+ PAM configuration is very distribution specific. This is reason why upstream
+ util-linux package does not install any PAM config files.
+
+
+ Expected PAM config files:
+
+ login(1):
+ /etc/pam.d/remote - for -h command line option
+ /etc/pam.d/login - regular login
+
+
+ su(1):
+ /etc/pam.d/su-l - for --login command line option
+ /etc/pam.d/su - regular su
+
+
+ runuser(1):
+ /etc/pam.d/runuser-l - for --login command line option
+ /etc/pam.d/runuser - regular su
+
+ Note that runuser requires only "session" setting (and for example
+ "auth sufficient pam_rootok.so" dummy line).
+
+
+ chfn(1):
+ /etc/pam.d/chfn
+
+
+ chsh(1):
+ /etc/pam.d/chsh