Setup a Grub Password Using a Bash Script
by LinuxRSA from LinuxQuestions.org on (#5RN15)
Hi All
Im on a RHEL 6 server, im writing a bash script to configure GRUB automatically.
I wish to run the bash script and enter the grub password.
Once the md5-crypt password is generated, is it possible to take the output and enter it to the /boot/grub/grub.conf file without editing the file using vi
Is this possible to automate, or does it have to be done manually ?
Thanks
Im on a RHEL 6 server, im writing a bash script to configure GRUB automatically.
I wish to run the bash script and enter the grub password.
Once the md5-crypt password is generated, is it possible to take the output and enter it to the /boot/grub/grub.conf file without editing the file using vi
Is this possible to automate, or does it have to be done manually ?
Thanks