mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
/etc/login.defs: set the mode of new home directories to 700
This commit is contained in:
parent
8544ba285d
commit
7fca8ceaf8
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,9 @@ let
|
|||
TTYGROUP tty
|
||||
TTYPERM 0620
|
||||
|
||||
# Ensure privacy for newly created home directories.
|
||||
UMASK 077
|
||||
|
||||
# Uncomment this to allow non-root users to change their account
|
||||
#information. This should be made configurable.
|
||||
#CHFN_RESTRICT frwh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue