There are several ways to monitor who is currently logged into a system. One of which is to use the command
last command will display all users logged into a system along with their current tty's. However, it will only display login information starting from the time
/var/log/wtmp was created. With that, you need to make sure that
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.