LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Single user mode, asking for root password (https://www.linuxquestions.org/questions/linux-newbie-8/single-user-mode-asking-for-root-password-4175426293/)

dmz1213 09-08-2012 05:29 PM

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

TB0ne 09-08-2012 07:43 PM

Quote:

Originally Posted by dmz1213 (Post 4775842)
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?


All times are GMT -5. The time now is 01:08 PM.