From a73f0566e978afb6d5b9693bf432a2496bedd61f Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Mon, 1 Jul 2019 13:25:23 +0000 Subject: [PATCH] change default umask to 006 session optional pam_umask.so usergroups https://forums.whonix.org/t/change-default-umask/7416/17 --- etc/pam.d/common-session | 2 ++ etc/pam.d/common-session-noninteractive | 2 ++ 2 files changed, 4 insertions(+) diff --git a/etc/pam.d/common-session b/etc/pam.d/common-session index 8bd589a..371895a 100644 --- a/etc/pam.d/common-session +++ b/etc/pam.d/common-session @@ -25,3 +25,5 @@ session required pam_unix.so session optional pam_systemd.so session optional pam_cgfs.so -c freezer,memory,name=systemd # end of pam-auth-update config +session optional pam_umask.so usergroups + diff --git a/etc/pam.d/common-session-noninteractive b/etc/pam.d/common-session-noninteractive index a38564a..253b033 100644 --- a/etc/pam.d/common-session-noninteractive +++ b/etc/pam.d/common-session-noninteractive @@ -24,3 +24,5 @@ session required pam_permit.so session required pam_unix.so session optional pam_cgfs.so -c freezer,memory,name=systemd # end of pam-auth-update config +session optional pam_umask.so usergroups +