Set defualt umask
This commit is contained in:
parent
99ef1072fa
commit
dd49aff3e3
@ -58,6 +58,11 @@ return 101 # Action forbidden by policy
|
||||
EOF
|
||||
chmod 755 "$INSTALLDIR/usr/sbin/policy-rc.d"
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# Ensure umask set in /etc/login.defs is used (022)
|
||||
# ------------------------------------------------------------------------------
|
||||
echo "session optional pam_umask.so" >> "${INSTALLDIR}/etc/pam.d/common-session"
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# Add debian security repository
|
||||
# ------------------------------------------------------------------------------
|
||||
|
@ -103,9 +103,6 @@ sudo touch /root/.whonix/first_run_initializer.done
|
||||
# Prevent whonixcheck error
|
||||
sudo su -c 'echo WHONIXCHECK_NO_EXIT_ON_UNSUPPORTED_VIRTUALIZER=\"1\" >> /etc/whonix.d/30_whonixcheck_default'
|
||||
|
||||
# Ensure umask set in /etc/login.defs is used (022)
|
||||
sudo su -c 'echo "session optional pam_umask.so" >> /etc/pam.d/common-session'
|
||||
|
||||
sudo update-rc.d network-manager disable
|
||||
sudo update-rc.d spice-vdagent disable
|
||||
sudo update-rc.d swap-file-creator disable
|
||||
|
Loading…
Reference in New Issue
Block a user