Details
sudo can use a custom log file
Rationale:
A sudo log file simplifies auditing of sudo commands
Impact:
editing the sudo configuration incorrectly can cause sudo to stop functioning
Solution
Edit the file /etc/sudoers or a file in /etc/sudoers.d/ with visudo or visudo -f and add the following line:
Defaults logfile=’
Example
Defaults logfile=’/var/log/sudo.log’
Supportive Information
The following resource is also helpful.
This security hardening control applies to the following category of controls within NIST 800-53: Audit and Accountability.This control applies to the following type of system Unix.