Ensure system administrator actions sudolog are collectedID: oval:org.secpod.oval:def:70832 | Date: (C)2021-04-07 (M)2023-12-20 |
Class: COMPLIANCE | Family: unix |
Monitor the sudo log file. If the system has been properly configured to disable the use of the su command and force all administrators to have to log in first and then use sudo to execute privileged commands, then all administrator commands will be logged to /var/log/sudoers_log. Any time a command is executed, an audit event will be triggered as the /var/log/sudoers_log file will be opened for write and the executed administration command will be written to the log.