4.1.1.1 Ensure access on root user smit.log is configured

Information

The smit.log file int the HOME directory of root maintains a history of all smit commands run as root.

The smit.log file may contain sensitive information regarding system configuration, which may be of interest to an attacker. This log file must be secured from unauthorized access and modifications.

Solution

Remove world read and write access to the root user's smit.log :

HOME=~root
if (test ${HOME} != "/")
then
HOME=${HOME}/
fi
chmod u=rw,g=r,o-rwx ${HOME}smit.log
chown root:system ${HOME}smit.log

See Also

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

Item Details

Category: ACCESS CONTROL, MEDIA PROTECTION

References: 800-53|AC-3, 800-53|AC-5, 800-53|AC-6, 800-53|MP-2, CSCv7|14.6

Plugin: Unix

Control ID: 8f7c4e873906a077284db720d460b815d23859fce6348cdc49aa8196671e7d76