LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Where can i find the passwd file? (https://www.linuxquestions.org/questions/linux-software-2/where-can-i-find-the-passwd-file-310571/)

alice95089 04-06-2005 09:34 PM

Where can i find the passwd file?
 
Hi all,
I remember there is a passwd file for all user in linux.

I would like to change the userpasswd by that file but i forget where is the file. could any one tell me what is the path of the passwd file?

Thanks
Alice

masand 04-06-2005 09:43 PM

the information is

in /etc/passwd and /etc/shadow

have alook at

man passwd

man shadow

regards

jailbait 04-06-2005 09:43 PM

"I would like to change the userpasswd by that file but i forget where is the file. could any one tell me what is the path of the passwd file?"

The file is /etc/passwd but I haven't told you anything useful. If you want to change a user password use the passwd command. See:
man passwd

If you want to understand how the password relates to a user see:
man pam

----------------------
Steve Stites

masand 04-06-2005 10:01 PM

adding to that

systems nowdays also used LDAP authentication,so u may not have passwords in /etc/passwd

regards


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