Article 5RN15 Setup a Grub Password Using a Bash Script

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 ?

Thankslatest?d=yIl2AUoC8zA latest?i=2LwLiALc6EM:Y7joZzoWZio:F7zBnMy latest?i=2LwLiALc6EM:Y7joZzoWZio:V_sGLiP latest?d=qj6IDK7rITs latest?i=2LwLiALc6EM:Y7joZzoWZio:gIN9vFw2LwLiALc6EM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments