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 |
check
Code:
man 5 passwd |
Quote:
# 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. |
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 |
wait so where is this passwd located? and how do i print it out? (besides just using a command like more or something)
|
Just type:
cat /etc/passwd This will give you what you need. Use passwd to change the infomation. man passwd works for me too. |
Is a good idea to tag solved problems as "solved"?
How do you think? |
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. |