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 |
the information is
in /etc/passwd and /etc/shadow have alook at man passwd man shadow regards |
"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 |
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. |