get information about users
Hello!
I need to get information about users connected on a certain server - for example if they worked at a certain date, get all users from a group or find out if they are connected from a certain machine. For the last one, I've tried something like this: w|grep "awk '$3==70.70.70.70'" but with no luck. Can anybody help me? Thank you! |
Why they are connected to server? For login purpose, for accessing file or folder or something else. Suppose they are accessing samba share then 'smbstatus ' tell you connected users and machine , similarly other services have relevant option to check connected users.
Be more specific what you want thnks |
w and who both commands can give you status of the currently logged in users.
|
And "if they worked at a certain date" is available from "last".
If you are really interested in tracking users, you may want to look at "accton" in the GNU Accounting Utilities. These may not be installed by default, but can tel you who used what programs when, how much cpu they burned doing it, memory usage and how much data they read and wrote. |
All times are GMT -5. The time now is 06:44 AM. |