change default umask to 006

session optional  pam_umask.so usergroups

https://forums.whonix.org/t/change-default-umask/7416/17
This commit is contained in:
Patrick Schleizer 2019-07-01 13:25:23 +00:00
parent 41b61e3277
commit a73f0566e9
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48
2 changed files with 4 additions and 0 deletions

View File

@ -25,3 +25,5 @@ session required pam_unix.so
session optional pam_systemd.so session optional pam_systemd.so
session optional pam_cgfs.so -c freezer,memory,name=systemd session optional pam_cgfs.so -c freezer,memory,name=systemd
# end of pam-auth-update config # end of pam-auth-update config
session optional pam_umask.so usergroups

View File

@ -24,3 +24,5 @@ session required pam_permit.so
session required pam_unix.so session required pam_unix.so
session optional pam_cgfs.so -c freezer,memory,name=systemd session optional pam_cgfs.so -c freezer,memory,name=systemd
# end of pam-auth-update config # end of pam-auth-update config
session optional pam_umask.so usergroups