server restart check
Hi,
I am using centos 6 x86. How can i check who restarted server and at what time. i am getting Code:
[root@swift ~]# who -b Code:
[root@swift ~]# last reboot |
the last reboot command is ok, you need to know who executed that. Probably it was executed as root, therefore you need to know who was logged in as root that time...
|
Quote:
|
no, I'm really sorry, but that information is not enough. First you need to check the command last again: who was logged in at all that time
|
Quote:
Code:
[root@swift ~]# last |more |
So you can see there was only one user logged in before reboot, rajkumar. You can ask him/her if he/she knew something about that reboot. You can also check the files /var/log/auth.log, /var/log/messages, probably you can find something related.
|
All times are GMT -5. The time now is 04:24 AM. |