LinuxQuestions.org
Review your favorite Linux distribution.
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 09-08-2012, 06:29 PM   #1
dmz1213
Member
 
Registered: Aug 2012
Posts: 40

Rep: Reputation: Disabled
Single user mode, asking for root password


Hello:
On a CentOS 6 Enterprise 6 server, I can always boot it to single user mode without being asking for root password; until...
I removed a file system but left its mount entry on /etc/fstab. Reboot failed. Reboot again, on GRUB, enter single or 1 to boot into single user mode.
booting...
An error occurred during the file system check,
Dropping you to a shell; the system will reboot when you leave the shell
Warning –SELinux is active
Disabling security enforcement for system recovery
Run ‘setenforce 1’ to reenable
Give root password for maintenance
(or type Control-D to continue):
Login incorrect.

Is it normal that boot (even single user mode) asks for password since it has file system problem ?

2nd issue, somehow console (HP Porliant DL380 G5, iLO Remote Console) only takes one key stroke and immediately rejects.

Any recommendation ?
I boot to Rescue Mode to fix /etc/fstab issue.
Thanks.
Warren
 
Old 09-08-2012, 08:43 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,357

Rep: Reputation: 3911Reputation: 3911Reputation: 3911Reputation: 3911Reputation: 3911Reputation: 3911Reputation: 3911Reputation: 3911Reputation: 3911Reputation: 3911Reputation: 3911
Quote:
Originally Posted by dmz1213 View Post
Hello:
On a CentOS 6 Enterprise 6 server, I can always boot it to single user mode without being asking for root password; until...
I removed a file system but left its mount entry on /etc/fstab. Reboot failed. Reboot again, on GRUB, enter single or 1 to boot into single user mode.
booting...
An error occurred during the file system check,
Dropping you to a shell; the system will reboot when you leave the shell
Warning –SELinux is active
Disabling security enforcement for system recovery
Run ‘setenforce 1’ to reenable
Give root password for maintenance
(or type Control-D to continue):
Login incorrect.

Is it normal that boot (even single user mode) asks for password since it has file system problem ?
Yes. Even if you rebooted in single-user mode, or entered it via GRUB, it will prompt you for a root password.
Quote:
2nd issue, somehow console (HP Porliant DL380 G5, iLO Remote Console) only takes one key stroke and immediately rejects.

Any recommendation ?
I boot to Rescue Mode to fix /etc/fstab issue.
Thanks.
Warren
No idea...have you contacted HP? The ILO from HP may have a bug, firmware problem, etc. Are you able to use a 'hard' console to access the machine?
 
  


Reply


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
Resetting root password in single user mode vedaprasad Linux - Newbie 1 10-04-2011 01:08 PM
[SOLVED] No prompt for root password after attempting to enter single user mode infinite_scale Linux - Newbie 3 07-30-2011 10:51 AM
unique problem in resetting root password in suse linux in single user mode & rescue amit_kalipur Linux - Security 1 07-14-2009 02:41 PM
password for single user mode V Naveen Linux - General 1 11-24-2006 06:27 AM
Slackware's Single User Mode requires root password too? StevenO Slackware 2 01-25-2006 09:28 PM


All times are GMT -5. The time now is 11:08 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration