This way the su(1) session will always have a proper umask(2), set from /etc/login.defs by default.
8 lines
276 B
Text
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
|