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

Ubuntu 24.04 PHP OCI8 error

  As oci8.so still expecting libaio.so.1 , creating the following symlink resolves the issue: ln -s /usr/lib/x86_64-linux-gnu/libaio.so.1t...

Mais vistos