mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 10:44:18 +00:00
/etc/login.defs: set the mode of new home directories to 700
This commit is contained in:
parent
8544ba285d
commit
7fca8ceaf8
@ -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…
Reference in New Issue
Block a user