grub-md5-crypt: command not found

General support questions
Post Reply
Posts: 23
Joined: 2014/08/24 07:10:22

grub-md5-crypt: command not found

Post by yaoyansi » 2016/01/27 04:03:38

hi all,
I'm hardening my centos7 system with this guide ... twork.html
In section Password Protecting GRUB, it says:

Code: Select all

..., and then type the following command:/sbin/grub-md5-crypt
But after I running this command, it complains that
bash: /sbin/grub-md5-crypt: No such file or directory

And yum can't find this file at all.
$yum provides grub-md5-crypt
It says 'No matches found'

Could you tell me how to install this command?

Posts: 1305
Joined: 2014/05/14 10:06:37
Location: UK

Re: grub-md5-crypt: command not found

Post by giulix63 » 2016/01/27 08:02:04

That guide is for CentOS(RHEL) 5, you can't expect it to work on 7.
Root is evil: Do not use root (sudo) to run any of the commands specified in my posts unless explicitly indicated. Please, provide the necessary amount of context to understand your problem/question.

Post Reply

Return to “CentOS 7 - General Support”