5.1 Set daemon umask - Check if CMASK is set to 022 in /etc/default/init.

Information

Level: 1

Solution

Perform the following to implement the recommended state-

cd /etc/default

awk '/^CMASK=/ { $1 = 'CMASK=022' } { print }' init >init.new

mv init.new init

pkgchk -f -n -p /etc/default/init

See Also

https://benchmarks.cisecurity.org/tools2/solaris/CIS_Oracle_Solaris_10_Benchmark_v5.2.0.pdf

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3

Plugin: Unix

Control ID: 52adc0baf13536b61989266e010c078913362a7cccf88a63257601e2e26bfd65