Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-16-2009, 02:10 AM   #1
LQ Newbie
Registered: Nov 2009
Posts: 1

Rep: Reputation: 0
get information about users

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=='" but with no luck.
Can anybody help me?
Thank you!
Old 11-16-2009, 02:14 AM   #2
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
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
Old 11-16-2009, 03:01 AM   #3
Senior Member
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
w and who both commands can give you status of the currently logged in users.
Old 11-16-2009, 05:54 AM   #4
Registered: Dec 2004
Location: MA
Distribution: Various
Posts: 149

Rep: Reputation: 23
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Users can't get own quota information - CentOS 5 sgb Linux - Server 3 01-13-2009 06:00 AM
Please give me Information about System Users Described in RHEL avinashl Linux - Newbie 1 11-04-2008 07:27 AM
list users and user information MrSako Linux - Newbie 7 11-03-2006 09:24 PM
how can i display a information for all users when they login? lnthai2002 Linux - General 1 02-21-2006 07:04 PM
Where is all the information about users and groups stored? foxy123 Ubuntu 3 06-29-2005 06:36 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration