Quote:
Originally Posted by john test
"w" also works and gives a little more info
|
These commands are standard in all distributions:
w
who -a
users
who and users show who are currently logged on. You can also use last:
last
Last looks through /var/log/wtmp and displays a log of the last users logged on, including those currently logged on.
Another possibility is to get the users-information from the systems logs:
grep sshd /var/log/messages