LinuxQuestions.org
Review your favorite Linux distribution.
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 10-27-2008, 06:17 PM   #1
Naba
LQ Newbie
 
Registered: Oct 2006
Posts: 8

Rep: Reputation: 0
Unhappy Cannot logon using root or anyother users


Cannot logon using root or anyother users

Hi All

I am running RedHat Enterprise on my server, we recently had a powerfailure on the machine, now when we boot it up, it loads up to the logon screen but when we try to logon using root or anyother username it dosen't allow,

How can i login to the this server,

Can anyone help

Naba
 
Old 10-27-2008, 06:34 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
What error message do you get when you try to log on?

-------------------
Steve Stites
 
Old 10-27-2008, 11:51 PM   #3
Naba
LQ Newbie
 
Registered: Oct 2006
Posts: 8

Original Poster
Rep: Reputation: 0
It says cannot find users or password
 
Old 10-28-2008, 10:17 PM   #4
rizvi_iut
LQ Newbie
 
Registered: Oct 2008
Posts: 10

Rep: Reputation: 0
try in single user mode

you can try to login in single-usermode. then you can diagnose what's the problem with it.


Rizvi
 
Old 10-29-2008, 01:51 AM   #5
Naba
LQ Newbie
 
Registered: Oct 2006
Posts: 8

Original Poster
Rep: Reputation: 0
How do i login using single-usermode
 
Old 10-29-2008, 11:34 AM   #6
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 44
When you boot up and you see the boot options window choose the second line and hit "e" for edit, the add a space and a 1 after then hit "b" to boot. that should put you in single user mode as root.
 
Old 10-29-2008, 11:54 PM   #7
rizvi_iut
LQ Newbie
 
Registered: Oct 2008
Posts: 10

Rep: Reputation: 0
If you are using GRUB, use the following steps to boot into single-user mode:

[1] Select Red Hat Linux with the version of the kernel that you wish to boot and type e for edit. You will be presented with a list of items in the configuration file for the title you just selected.

[2] Select the line that starts with kernel and type e to edit the line.

[3] Go to the end of the line and type single as a separate word (press the [Spacebar] and then type single). Press [Enter] to exit edit mode.

[4] Back at the GRUB screen, type b to boot into single user mode.


------------
Rizvi
 
Old 10-30-2008, 12:27 AM   #8
Naba
LQ Newbie
 
Registered: Oct 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks ncsuapex, and thanks all
 
Old 10-30-2008, 11:18 PM   #9
Naba
LQ Newbie
 
Registered: Oct 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks so much all i'm in
 
  


Reply

Tags
cannot, logon, root, users, using



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
Using differents IP for different users logon gu3vara Linux - Server 2 08-29-2007 09:36 PM
Gentoo Root Issue. Cannot SU or logon to Root Battousai Linux - Distributions 8 11-14-2006 05:54 PM
New users can't logon to FTP server... drzigman Linux - General 4 06-13-2005 03:50 AM
Can't logon to non-root users from wdm,xdm websinger Debian 4 12-20-2004 05:50 PM
restricting logon hours to users? FiveFlat Linux - Networking 2 01-18-2004 01:43 PM

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

All times are GMT -5. The time now is 03:43 AM.

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