Help answer threads with 0 replies.
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!


  Search this Thread
Old 06-07-2017, 05:40 PM   #1
Senior Member
Registered: Jan 2004
Posts: 1,420
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
Character Limitation to Grub Passwd?

Recently had to log into a few of the RHEL6 systems that I manage via grub, in order to reset the Root password.

I wasn't able to get in via the grub passwd that I set, which was a complex, 15 character, mix of alpha-numeric characters.

I later used a live disk to remove the Grub password and set a simple password for grub and it worked.

I consulted the man and info pages for grub-md5-crypt, however I can't find anything stating if there is a character limitation. I also looked at the grub home page and can't find anything there either.

Do we know if there is a character limitation when setting a passwd for Grub?

Old 06-08-2017, 06:25 AM   #2
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 567

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
Yeah, seems that 31 characters is the limit:


character limitation, grub, grub password

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
Why limitation of 6 or 8 character filenames + extension on older operating systems? Xeratul Programming 14 10-07-2015 09:44 PM
Can BIOS Limitation Prevent Grub from booting Windows if no boot flag set? CJS Linux - General 4 09-08-2008 09:17 AM
how to put * in passwd with thousand of character packets Programming 4 06-05-2008 06:42 PM
how to put * in passwd with thousand of character packets Linux - Newbie 2 06-05-2008 07:30 AM > Forums > Linux Forums > Linux - Newbie

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