grub-md5-crypt: command not found

General support questions
Post Reply
yaoyansi
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 https://www.centos.org/docs/5/html/Depl ... twork.html
In section 42.1.2.2.1. 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
#/sbin/grub-md5-crypt
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?
Cheers

giulix63
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”