Skip to content

Commit

Permalink
sudo default umask 006
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Schleizer committed Aug 16, 2019
1 parent 17cfcb6 commit 224f957
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions debian/control
Expand Up @@ -149,6 +149,7 @@ Description: enhances misc security settings
to read and write to newly created files.
/etc/login.defs.security-misc
/usr/share/pam-configs/usergroups-security-misc
/etc/sudoers.d/umask-security-misc
.
* Enables pam_umask.so usergroups so group permissions are same as user
permissions. Debian by default uses User Private Groups (UPG).
Expand Down
5 changes: 5 additions & 0 deletions etc/sudoers.d/umask-security-misc
@@ -0,0 +1,5 @@
## Copyright (C) 2019 - 2019 ENCRYPTED SUPPORT LP <adrelanos@riseup.net>
## See the file COPYING for copying conditions.

Defaults umask = 006
Defaults umask_override

0 comments on commit 224f957

Please sign in to comment.