Share your knowledge at the LQ Wiki.
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-12-2003, 10:01 PM   #1
Registered: Jul 2002
Location: singapore
Distribution: red had 7.2
Posts: 109

Rep: Reputation: 15
can not log in

Hi linux user,
I am using debian 3. I have set up my nis server and client successfully.

at my nis client, I log in as root so that it is reading the local client machine. At my client, I have manually changed (edit) my from the root name to admin in etc/passwd.

So now my /etc/passwd is as follow :


(please note above root has changed to admin)

Oh ! God ! after that I logout but I can not log in using root account anymore.

But I can use other user account to login (the user account created from my nis server) . But now how can I changed the root back from admin to root at my client. so that I can log in as root.

Your help is highly apprecited.

Old 08-12-2003, 10:28 PM   #2
Senior Member
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Did you try your old root password and admin username? Did you try to log in with no password? If that doesn't work you could boot your CD and type rescue. I think then you could run the passwd admin command and change the password.


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
weird stuff in /var/log/auth.log bschiett Linux - Security 3 03-12-2005 08:29 AM
Deleted /var/log/messages, can't log any files-iptables chingyenccy Linux - Newbie 7 02-27-2005 04:03 PM
Strange results in /var/log/apache/access.log subt13 Linux - Security 2 08-03-2004 01:21 PM
pppd logging to /var/log/ppp.log problem mrtwice Linux - Software 1 01-10-2004 05:38 PM
iptables, changing log file from /var/log/messages acid2000 Linux - Networking 3 03-11-2003 08:38 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:32 PM.

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