void-packages/srcpkgs/util-linux/files/su.pam
Juan RP 9eb2562b3b util-linux: enable pam_umask(8) for su(1).
This way the su(1) session will always have a proper umask(2),
set from /etc/login.defs by default.
2015-01-11 11:44:32 +01:00

8 lines
276 B
Text

auth sufficient pam_rootok.so
auth required pam_unix.so
account required pam_unix.so
session optional pam_mail.so dir=/var/mail standard
session optional pam_xauth.so
session optional pam_umask.so usergroups
session required pam_env.so
session required pam_unix.so