mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-25 08:09:23 -05:00
revert umask 027 by default
because broken because this also happens for root while it should not https://github.com/Kicksecure/security-misc/issues/185
This commit is contained in:
parent
3f1304403f
commit
86f91e3030
@ -392,7 +392,9 @@ See:
|
||||
#### umask
|
||||
|
||||
Default `umask` is set to `027` for files created by non-root users such as for
|
||||
example user `user`.
|
||||
example user `user`. Broken. Disabled. See:
|
||||
|
||||
* https://github.com/Kicksecure/security-misc/issues/184
|
||||
|
||||
This is doing using pam module `pam_mkhomedir.so umask=027`.
|
||||
|
||||
|
@ -1,8 +0,0 @@
|
||||
Name: Restrict umask to 027 (by package security-misc)
|
||||
Default: yes
|
||||
Priority: 100
|
||||
Session-Type: Additional
|
||||
Session-Interactive-Only: yes
|
||||
Session:
|
||||
[success=1 default=ignore] pam_succeed_if.so uid eq 0
|
||||
optional pam_umask.so umask=027
|
Loading…
Reference in New Issue
Block a user