6.8 Set Default Screen Lock for GNOME Users - Check if lockTimeout is set to 0:00:00 in /usr/openwin/lib/app-defaults/XScreenSaver.

Information

Level: 1

Solution

Perform the following to implement the recommended state-

cd /usr/openwin/lib/app-defaults

awk '/^*timeout:/ { $2 = '0:10:00' } /^*lockTimeout:/ { $2 = '0:00:00' } /^*lock:/ { $2 = 'True' } { print }' XScreenSaver >XScreenSaver.new

mv XScreenSaver.new XScreenSaver

pkgchk -f -n -p /usr/openwin/lib/app-defaults/XScreenSaver

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-11

Plugin: Unix

Control ID: 385c38dbc377922dd5380cb454d0a01fccba696e05659fa3da841de0338d9d8e