LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices

Reply
 
Thread Tools
Old 11-16-2009, 03:10 AM   #1
laura_icy
LQ Newbie
 
Registered: Nov 2009
Posts: 1
Thanked: 0
get information about users


[Log in to get rid of this advertisement]
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!
windows_xp_2003 laura_icy is offline     Reply With Quote
Old 11-16-2009, 03:14 AM   #2
vishesh
Member
 
Registered: Feb 2008
Location: india
Distribution: Fedora,RHEL,Ubuntu
Posts: 262
Thanked: 24
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
windows_xp_2003 vishesh is offline     Reply With Quote
Old 11-16-2009, 04:01 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Ubuntu Karmic, CentOS 5.4
Posts: 2,487
Thanked: 158
w and who both commands can give you status of the currently logged in users.
linuxubuntu linuxlover.chaitanya is offline     Reply With Quote
Old 11-16-2009, 06:54 AM   #4
pcunix
Member
 
Registered: Dec 2004
Location: MA
Distribution: Various
Posts: 124
Thanked: 12
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.
macos pcunix is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 07:00 AM
Please give me Information about System Users Described in RHEL avinashl Linux - Newbie 1 11-04-2008 08:27 AM
list users and user information MrSako Linux - Newbie 7 11-03-2006 10:24 PM
how can i display a information for all users when they login? lnthai2002 Linux - General 1 02-21-2006 08:04 PM
Where is all the information about users and groups stored? foxy123 Ubuntu 3 06-29-2005 07:36 PM


All times are GMT -5. The time now is 09:10 AM.

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