LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-07-2004, 06:15 PM   #1
xedios
Member
 
Registered: May 2004
Location: SLO
Distribution: RH9
Posts: 70

Rep: Reputation: 15
Question Get a list of linux users


Hi

I am new at Linux.

So if someone can help me out with my little problem

I need to list users witch are created on the box.

Like in MSWIN user manager

If it is possible under console not under KDE I know that way. But I am building a home server so I didnít install X


Thanks
 
Old 05-07-2004, 06:21 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
A list of all users are in /etc/passwd file.
 
Old 05-07-2004, 06:25 PM   #3
xedios
Member
 
Registered: May 2004
Location: SLO
Distribution: RH9
Posts: 70

Original Poster
Rep: Reputation: 15
Thanx
 
Old 05-07-2004, 06:29 PM   #4
46&2
Member
 
Registered: Mar 2004
Location: Idaho, USA
Distribution: Gentoo
Posts: 67

Rep: Reputation: 15
probably the best way would be to:

ls /home

most users (actual users, not system processes like mysql or ftp) have folders in /home (home directory, not unlike user profiles on 2k, xp, etc).

another way to check would be

ls /var/spool/mail

this is the directory where mail is kept for users.

hope this helps!
 
Old 05-07-2004, 06:31 PM   #5
xedios
Member
 
Registered: May 2004
Location: SLO
Distribution: RH9
Posts: 70

Original Poster
Rep: Reputation: 15
Jes it helps


i set up may users so thec can't login ( ftp users )

and i need to know who can login and who cant so the first answare was right

# /etc/passwd


thanx


you are great
 
  


Reply


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
What is the command to list users? neo_in_matrix Linux - Newbie 24 02-12-2014 10:43 PM
DISCUSSION: How to list all your USERs.. amitsharma_26 LinuxAnswers Discussion 12 10-16-2012 12:48 AM
How do I list all users (even those not logged in) steved Linux - Newbie 2 09-29-2005 04:45 PM
list out the users. bruse Linux - Newbie 2 07-19-2005 08:46 AM
List all users eam Linux - Newbie 7 05-15-2005 11:55 PM


All times are GMT -5. The time now is 11:39 PM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration