Page 1 of 1

Centos 6 GRUB default

Posted: 2016/04/08 12:30:31
by travian
Hi,

I have a CentOS 6 installed directly from iso and unfortunately the root password was lost.

Trying to reset root via GRUB single user login, but the GRUB splash screen doesn't have the edit or append options.

Instead it has p, " or 'p' to enter a password to unlock the next set of features"
which is a password prompt for edit or append single mode init.

Is there a default password for this that I can find?
Kindly share any other alternative.

Thanks.

Re: Centos 6 GRUB default

Posted: 2016/04/08 12:51:48
by TrevorH
No, there is no default password - the default is to have no password. If it has a password then it was set by your system administrator and you would need to ask to find out what it is. Your next alternative is to use a rescue media boot but you should consult with the person who set the password as it was obviously done to keep unauthorised people out.

Re: Centos 6 GRUB default

Posted: 2016/04/08 13:09:00
by travian
Thanks for your reply,
I have double checked but the centos installation on another PC also appears to be the same.
I had done the installation and I'm sure nothing related to GRUB was changed.

With a clean install, if you interrupt the GRUB boot, you'll notice that you still don't get the a or e options, its p.
Can you confirm this? I even checked with a CentOS 5.4 and the same appears. Infact the grub.conf doesn't even have a password line and yet it prompts for p.

Thanks.

Re: Centos 6 GRUB default

Posted: 2016/04/08 13:11:16
by TrevorH
No version of CentOS password protects grub by default at install time. I'm not even sure that it's a selectable choice during the install but I do know that it isn't done by default.

Re: Centos 6 GRUB default

Posted: 2016/04/08 13:23:03
by gerald_clark
Are you sure it is not a BIOS password?

Re: Centos 6 GRUB default

Posted: 2016/04/08 13:36:47
by travian
Yes, I'm sure its not BIOS.
I am at the flash screen and the GRUB version etc at the top.
In the classic OS box, there is the CentOS listed with option to boot or enter p to access features.

Re: Centos 6 GRUB default

Posted: 2016/04/09 08:44:22
by travian
@TrevorH

Thanks for your help, just FYI.
https://www.centos.org/docs/5/html/Inst ... oader.html

Didn't find a CentOS 6 link, but I double checked in a clean install, there is an option to set a boot loader password during install.