Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-05-2003, 05:45 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
User Manager Error

I recently ran into some trouble and corrupted my /etc/passwd file. I have since been able to track down how to login under the rescue mode and get my root user back. I am very new to Linux so things are moving slowly with this latest error. I am running Redhat 7.3 - if that helps.

1. I now have all the files and everything for the old users, except that according to my passwd file they don't exist.

2. I can't delete them using the "userdel...." or the X way of going through User Manager.

3. I don't want to add new users and just mess around with the files even more than I already have.

Is there anyway of recovering or adjusting the X program - or through the prompt - so that I can fix my mistake? Any and all help is greatly appreciated.

Thanks in advance.
Old 08-05-2003, 05:55 PM   #2
Registered: Jul 2003
Distribution: slackware
Posts: 56

Rep: Reputation: 15
as root you can edit the passwd file and add the user manually, set no password for the user in /etc/shadow so you can login without the password and later change it
Old 08-05-2003, 06:29 PM   #3
LQ Newbie
Registered: Aug 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks -- didn't even cross my mind.


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
Help! Cannot Add a User to User Manager or Change Root Password lennysokol Linux - General 2 06-25-2005 09:59 AM
Tcl/Tk User Manager liguorir Linux - Software 0 03-31-2004 09:21 PM
super user file manager zmaint Mandriva 4 01-12-2004 10:16 AM
User Manager homerjpbody Linux - General 4 11-14-2003 01:06 PM
User Manager does not work bluecrane Linux - General 1 02-18-2003 11:32 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration