LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   list users and user information (https://www.linuxquestions.org/questions/linux-newbie-8/list-users-and-user-information-497014/)

MrSako 10-30-2006 02:43 PM

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

ebasi 10-30-2006 03:05 PM

check
Code:

man 5 passwd
in your terminal

MrSako 10-30-2006 05:30 PM

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.

chrism01 10-30-2006 05:35 PM

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

MrSako 10-30-2006 07:11 PM

wait so where is this passwd located? and how do i print it out? (besides just using a command like more or something)

josenj 10-30-2006 08:00 PM

Just type:

cat /etc/passwd

This will give you what you need. Use passwd to change the infomation. man passwd works for me too.

ebasi 10-31-2006 12:56 AM

Is a good idea to tag solved problems as "solved"?
How do you think?

MrSako 11-03-2006 09:24 PM

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


All times are GMT -5. The time now is 06:04 PM.