![]() |
Now serving 108 guides. |
|
View Logged On Users General Information A useful administrative tool is to see what users are logged onto the server. Another tool not only shows who is logged on, but it also shows what programs they are running.Requirements
users Usage The simplest command to display the logged on users is the following:
who Usage If you want to see more information about each logon, execute:
w Usage A more useful utility will display more information about the users when executed:
uptime(1) command. Following that, You will get a heading row to describe the real output. As you can see, w(1) displays the username, the tty they are using, where they are connecting from, the log on timestamp, how long they have been idle, and finally, what program(s) they are using.While all of these commands are useful for seeing who is logged on, it is important to give only administrative users access to them. You can find more information on securing these commands in the hardening guide. Author: Jon LaBass Find this guide useful?
Support the author: |
Copyright 2003 - 2010 BSD Guides. All rights reserved. |
About | Terms of Use | Privacy | Contact |

