LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-21-2008, 08:41 AM   #1
zaqavis
LQ Newbie
 
Registered: Feb 2008
Posts: 8

Rep: Reputation: 0
Password file


I have redhat Enterprise 4 .

when I want to create new user on GUI, the erorr is appear like password and shadow mismatch entries.

I delete some duplicaet entries in my /etc/shadow file. now /etc/passwd /etc/shadow file is same.

but eroor is still.

Tell me one thing one each file of passwd and shadow is showing in /etc i.e. passwd- shadow- .

what can i do.
 
Old 05-21-2008, 10:21 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
The files shouldn't have mismatch entries if you use the system-provided tools to add users and don't modify the files yourself..basically there are one line per user in both shadow and passwd files, but so that passwd does not contain the password, instead it's in the shadow file (encrypted). Read man pages of both files and see that the fields are correctly set in either of them. If you are unable to solve it otherwise, you could perhaps remove all entries from them except for root and then add all the system's users using useradd or equivalent tool, though that's quite a lot of job to do (note that the user id numbers would need to be the same as they were before, otherwise you'll get in trouble).
 
  


Reply



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
password file roAder Slackware 2 02-28-2005 06:08 PM
Samba Password File gauge73 Linux - Networking 2 01-28-2003 09:16 PM
Password file radskatehell Linux - General 5 01-21-2003 05:17 PM
Redhat password file ? Richard1781 Linux - General 1 11-07-2002 04:29 AM
password file juno Linux - General 13 10-04-2002 09:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:13 PM.

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
Open Source Consulting | Domain Registration