Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • If it was done over ssh look in auth.log to see who was logged in around that time.
    – LawrenceC
    Commented Jul 10, 2018 at 13:37
  • It's the problem I was logged and someone else at the same time and I didn't knew that and that "someone" made reboot... and I want to know which IP he have
    – TheTanadu
    Commented Jul 10, 2018 at 13:38
  • IIRC that file tells you the IPs of whoever logs in.
    – LawrenceC
    Commented Jul 10, 2018 at 13:39
  • :thinking: which tool you suggest to use? Hard to find something about IIRC tools
    – TheTanadu
    Commented Jul 10, 2018 at 13:44
  • I found that in /log/var/ I don't have auth.log - I read about that all is passed to /var/log/secure but there I couldn't even grep reboot anything
    – TheTanadu
    Commented Jul 10, 2018 at 13:54