1.92 SOL-11.1-040250

Information

The default umask for system and users must be 077.

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

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 lineUMASK=077

pfedit [user initialization file]

Insert the lineumask 077

See Also

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