Latest LQ Deal: Latest LQ Deals
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!


Closed Thread
  Search this Thread
Old 11-25-2007, 11:12 PM   #1
Registered: Jun 2007
Location: India
Distribution: Ubuntu,Red Hat, Fedora
Posts: 292

Rep: Reputation: 30
Login PRoblem?????

This morning I tried to login as root in fedora machine it throws:

sh-3.00 # passwd root
passwd:unknown user name 'root'

I checked the /etc/passwd and /etc/shadow files and surpriswed to see the /etc/passwd.OLD file and shadow- file there.I deleted the file.
Now when I am trying to su - in runlevel 1 then its says user 'root' not found..though root user is already there.
# useradd root
useradd:unknown gid 100
No group named "mail" exists,craeting mail spool with mode 0600

I have very critical project running on this machine and unable to login in runlevel 3 or 5.

Old 11-25-2007, 11:41 PM   #2
Registered: May 2004
Distribution: Debian Wheezy, Parabola, Trisquel
Posts: 78

Rep: Reputation: 15

You are much better with linux than I am, I think, but how about trying to login as an ordinary user and then opening a terminal and doing:

from there?
Old 11-25-2007, 11:47 PM   #3
Registered: Jun 2007
Location: India
Distribution: Ubuntu,Red Hat, Fedora
Posts: 292

Original Poster
Rep: Reputation: 30
nothing if I am running the command:

sh # su <user>
user "<user> doent exist

and the same is for root too.
Old 11-26-2007, 01:19 AM   #4
Senior Member
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
Sorry I am unable to help you. I noticed you also posted to some fedora-specific forums. Consider posting to if you have not already. They are some pretty sharp guys.
Old 11-26-2007, 02:55 AM   #5
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 296

Rep: Reputation: 31
If I'm not mistaken, when in runlevel 1 you only need to type passwd and not passwd root. When in runlevel 1 you are root?
Old 11-26-2007, 07:12 AM   #6
Registered: Dec 2006
Posts: 606

Rep: Reputation: 31
Type passwd to change the root password in run level 1
Old 11-26-2007, 11:35 AM   #7
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

And another dupe (reported for closure) is here:

Closed Thread

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
Login Problem SBN Linux - General 3 02-10-2007 12:53 AM
login problem sandeshshrestha Linux - General 1 03-03-2006 02:00 PM
login problem legin Debian 3 05-25-2004 02:42 AM
Login Problem can anybody help me? mnatu Linux - General 2 03-06-2004 03:59 PM
Problem with login klmn1 Linux - Networking 1 06-26-2003 12:38 PM > Forums > Linux Forums > Linux - Newbie

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