Use grub-md5-crypt to generate the md5 hash.
After edit /boot/grub/grub.conf and insert password --md5 your_hash_here
With this option users couldn't edit grub options, so they couldn't
neither boot in single user because they should provide the password
in this case.
On Jan 12, 2008 6:01 AM, Scott Ehrlich <scott at mit.edu>
wrote:> On a C4.4 system, I want to add md5 passwords for the grub boot menu to
> prevent users from making selections other than the default boot options.
>
> I also want to add md5 passwords when attempting single user mode boots
> (may be answered by first request).
>
> The same for C5 systems.
>
>
> Thanks.
>
> Scott
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>