Create sudo.log on Ubuntu server

Create log file:

touch /var/log/sudo.log

Edit the file /etc/sudoers

visudo

Paste
Defaults logfile="/var/log/sudo.log"

Restart rsyslog
sudo systemctl restart rsyslog

View log
tail -f /var/log/sudo.log

Configure Putty.exe to save serial console output to a file

  Impact of procedure :  Performing the following procedure should not have a negative impact on your system. Open putty by double click...

Mais vistos