Monday, December 29, 2014

How to check sudo activities

To check the sudo user activities , enable the logging.


To check who ran what commands, you may want to enable sudo log.
Check following value on your sudoers file.
# visudo
Defaults        log_host,log_year,logfile=/var/log/sudolog
 

No comments:

Post a Comment