Linux – How to find out who rebooted LINUX server

linuxredhat

Someone restarted our Linux server and I want to find out which user did it.

There might be multiple users on this server with sudo privileges, is there any specific log file which keep track of user who did reboot last time?

Edit: I am using Red Hat 6.3

Best Answer

You can use "last" to check. It shows when was the system rebooted and who were logged-in and logged-out.

From manpage:

last, lastb - show listing of last logged in users
Related Topic