summaryrefslogtreecommitdiffstats
path: root/Documentation/PAM-configuration.txt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:42:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:42:50 +0000
commit8cb83eee5a58b1fad74c34094ce3afb9e430b5a4 (patch)
treea9b2e7baeca1be40eb734371e3c8b11b02294497 /Documentation/PAM-configuration.txt
parentInitial commit. (diff)
downloadutil-linux-8cb83eee5a58b1fad74c34094ce3afb9e430b5a4.tar.xz
util-linux-8cb83eee5a58b1fad74c34094ce3afb9e430b5a4.zip
Adding upstream version 2.33.1.upstream/2.33.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