AIX7-00-003000 - AIX must automatically lock after 15 minutes of inactivity in the CDE Graphical desktop environment - saverTimeout

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

A session time-out lock is a temporary action taken when a user stops work and moves away from the immediate physical vicinity of the information system but does not log out because of the temporary nature of the absence. Rather than relying on the user to manually lock their operating system session prior to vacating the vicinity, operating systems need to be able to identify when a user's session has idled and take action to initiate the session lock.

The session lock is implemented at the point where session activity can be determined and/or controlled.

Solution

From the command prompt, run the following script to set the default timeout parameters 'dtsession*saverTimeout:' and 'dtsession*lockTimeout:' as '15' minutes:
for file in /usr/dt/config/*/sys.resources; do
etc_file='echo $file | sed -e s/usr/etc/'
echo '
updating config file '$etc_file'...'
if [[ ! -f $etc_file ]]; then
dir='dirname $file | sed -e s/usr/etc/'
mkdir -p $dir
echo 'dtsession*saverTimeout: 15' >> $dir/sys.resources
echo 'dtsession*lockTimeout: 15' >> $dir/sys.resources
else
cp $etc_file $etc_file.bak
cat $etc_file | grep -v 'dtsession*saverTimeout:' > $etc_file.sav
cat $etc_file.sav | grep -v 'dtsession*lockTimeout:' > $etc_file
echo 'dtsession*saverTimeout: 15' >> $etc_file
echo 'dtsession*lockTimeout: 15' >> $etc_file
fi
done

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_IBM_AIX_7-x_V2R5_STIG.zip

Item Details

References: CAT|II, CCI|CCI-000057, Rule-ID|SV-215318r508663_rule, STIG-ID|AIX7-00-003000, STIG-Legacy|SV-101333, STIG-Legacy|V-91233, Vuln-ID|V-215318

Plugin: Unix

Control ID: 956e0953e2190930fb0691f5cb6d0e2d3ec8311999ec6a64ecfa6daabf81d696