LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-06-2005, 09:34 PM   #1
alice95089
Member
 
Registered: Dec 2004
Location: hong kong
Posts: 44

Rep: Reputation: 15
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
 
Old 04-06-2005, 09:43 PM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
the information is

in /etc/passwd and /etc/shadow

have alook at

man passwd

man shadow

regards
 
Old 04-06-2005, 09:43 PM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"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
 
Old 04-06-2005, 10:01 PM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
adding to that

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

regards
 
  


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
question about /etc/passwd file hongxing Linux - Software 2 11-30-2005 10:47 AM
enhance security from passwd file KitshiNg Linux - Security 1 11-19-2005 04:23 PM
Moving passwd file to new server rtcary Linux - Newbie 5 07-20-2005 01:58 AM
passwd file within a jailed env f1uke Linux - Security 1 12-18-2003 10:37 AM
/etc/passwd file wedgeworth Linux - Software 1 10-09-2003 12:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:28 AM.

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