summaryrefslogtreecommitdiff
path: root/source/a/util-linux/pam.d/su
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/util-linux/pam.d/su')
-rw-r--r--source/a/util-linux/pam.d/su11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/a/util-linux/pam.d/su b/source/a/util-linux/pam.d/su
new file mode 100644
index 00000000..c7c81487
--- /dev/null
+++ b/source/a/util-linux/pam.d/su
@@ -0,0 +1,11 @@
+#%PAM-1.0
+auth sufficient pam_rootok.so
+# Uncomment the following line to implicitly trust users in the "wheel" group.
+#auth sufficient pam_wheel.so trust use_uid
+# Uncomment the following line to require a user to be in the "wheel" group.
+#auth required pam_wheel.so use_uid
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
+session optional pam_xauth.so