≡ Menu


Debian / Ubuntu Record Boot Messages

Once the userspace boot messages are gone from the console in Debian, they're gone forever. How do I log all messages sent to the /dev/console device to a logfile under Debian Linux sever?
[click to continue…]

UNIX / Linux: Send E-mail When sudo Runs

I'm not told to use the root user to perform activities that do not require it. I've configured sudo for myself and for other web developers so that they can restart MySQL or Apache web server. How do I send email when sudo run by one of my user? How do I keep track of user login done via sudo command?
[click to continue…]