See who logged in

Posted under » Linux on 07 November 2024

When I create a server, I normally have just one user. That user can then sudo to be root.

However, have you wondered if a hacker has logged in instead of your team member? When something fishy is going on, you would like to know who has logged in to your server

Try one of these commands to see what you prefer

$ w 
$ who
$ users #if there are more than one user
$ last

web security linux ubuntu python django git Raspberry apache mysql php drupal cake javascript css AWS data