1.92 SOL-11.1-040250

Information

The default umask for system and users must be 077.

GROUP ID: V-216341
RULE ID: SV-216341r959010

Setting a very secure default value for umask ensures that users make a conscious choice about their file permissions.

Solution

The root role is required.

Edit local and global initialization files containing "umask" and change them to use 077.

# pfedit /etc/default/login

Insert the line

UMASK=077 # pfedit [user initialization file]

Insert the line

umask 077

See Also

https://workbench.cisecurity.org/benchmarks/23765