void-packages/srcpkgs/util-linux/files/su.pam
Juan RP 915e2fa0af util-linux: set su(1) default umask via pam.
This should override umask setting from /etc/login.defs to 022.

Should help #1941
2015-07-02 08:06:52 +02:00

8 lines
286 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 umask=022
session required pam_env.so
session required pam_unix.so