6.10 Restrict root Login to System Console - Check if 'CONSOLE' in /etc/default/login is set to /dev/console.

Information

Privileged access to the system via the root account must be accountable to a particular user. The system console is supposed to be protected from unauthorized access and is the only location where it is considered acceptable to permit the root account to login directly, in the case of system emergencies. This is the default configuration for Solaris.

Solution

Perform the following to implement the recommended state-
cd /etc/default
awk '/CONSOLE=/ { print 'CONSOLE=/dev/console'; next }; { print }' login >login.new
mv login.new login
pkgchk -f -n -p /etc/default/login

See Also

https://workbench.cisecurity.org/files/614

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6(3)

Plugin: Unix

Control ID: a837657e8497079ab0a978d5f57586e29b95d6617468c3eb086f90e265cff1ae