LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-05-2003, 05:45 PM   #1
psuedo
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
sub_slack
Member
 
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
psuedo
LQ Newbie
 
Registered: Aug 2003
Posts: 2

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


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:30 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