LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-30-2006, 03:43 PM   #1
MrSako
Member
 
Registered: May 2006
Distribution: CentOS 4.4
Posts: 185

Rep: Reputation: 30
list users and user information


is there a command /set of commands to list existing system users and their information (logged in as root)

so i can see stuff like their home directory when they were created, what group their in, etc etc

the closest i found to any of this on google is
http://www.comptechdoc.org/os/linux/...cruserman.html
which doesn't give me any commands about this stuff
 
Old 10-30-2006, 04:05 PM   #2
ebasi
Member
 
Registered: Jul 2004
Distribution: Slackware 13.0
Posts: 49

Rep: Reputation: 15
check
Code:
man 5 passwd
in your terminal
 
Old 10-30-2006, 06:30 PM   #3
MrSako
Member
 
Registered: May 2006
Distribution: CentOS 4.4
Posts: 185

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by ebasi
check
Code:
man 5 passwd
in your terminal

# man 5 passwd
No entry for passwd in section 5 of the manual


anyways isnt passwd just for stuff related to their password? i wanna see stuff like their home directory.


ie i was goig to create a user and apparently it was already existing. either i made it already and totally forgot or it was made by a program or something.

i don't want to delete it or change the user incase its there for purposes of another program. and id preferebly not have ot make a new user because i have a couple other servers and i'm trying to have them all be as consitant as possible.
 
Old 10-30-2006, 06:35 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Sounds like you haven't got (all) the man pages installed ..
Works for me...
Here's the page you need: http://www.die.net/doc/linux/man/man5/passwd.5.html
 
Old 10-30-2006, 08:11 PM   #5
MrSako
Member
 
Registered: May 2006
Distribution: CentOS 4.4
Posts: 185

Original Poster
Rep: Reputation: 30
wait so where is this passwd located? and how do i print it out? (besides just using a command like more or something)
 
Old 10-30-2006, 09:00 PM   #6
josenj
Member
 
Registered: Oct 2006
Location: New Jersey (US)
Distribution: Arch Linux
Posts: 58

Rep: Reputation: 15
Just type:

cat /etc/passwd

This will give you what you need. Use passwd to change the infomation. man passwd works for me too.
 
Old 10-31-2006, 01:56 AM   #7
ebasi
Member
 
Registered: Jul 2004
Distribution: Slackware 13.0
Posts: 49

Rep: Reputation: 15
Is a good idea to tag solved problems as "solved"?
How do you think?
 
Old 11-03-2006, 10:24 PM   #8
MrSako
Member
 
Registered: May 2006
Distribution: CentOS 4.4
Posts: 185

Original Poster
Rep: Reputation: 30
yes good idea

btw i used typing cat /etc/passwd in combination with that URL to explain how to read it to find out the information i needed.

thanks
 
  


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
How to list user in Linux box, add an user to a group! steady_lfcfan Linux - Newbie 12 01-27-2013 02:14 PM
how can i display a information for all users when they login? lnthai2002 Linux - General 1 02-21-2006 08:04 PM
How to list hard drive information. tells Linux - Enterprise 4 01-26-2006 04:37 PM
clamd ERROR:Can't get information about user <USER> sailu_mvn Linux - Software 0 12-21-2005 01:49 AM
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 07:35 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration