Home > other >  Modify the Linux virtual machine infrastructure grub account password
Modify the Linux virtual machine infrastructure grub account password

Time:09-27

Modify the Linux virtual machine infrastructure grub account password
System administrator to modify the Linux virtual machine infrastructure grub account login password, in order to improve system's operational safety,
Linux based architecture of virtual machine grub password by default "Admin123 #,"
The use of "PuTTY" to "gandalf" users, through business plane IP address login Linux virtual machine infrastructure,
Execute the following command and press enter "root" user password prompt, switch to the "root" user,
Su - root
Execute the following command to prevent "PuTTY" timeout,
TMOUT=0
Execute the following command for the grub password generating ciphertext,
Grub - md5 - crypt
Enter a new password, and press "Enter",
To ensure the security of the password, it is recommended that set the password according to the following format:
Echo according to the following information:
Retype password:
To Enter a new password, and click "Enter",
The echo information is the cipher text form the new password, need to record the ciphertext,
Execute the following command to open the grub boot parameters file,
Vi/boot/grub/menu. LST
According to the I enter edit mode,
Using the new password "password - md5" cipher substitution of ciphertext,
Press "Esc" to exit the edit mode, the input: wq, press "Enter",
Save these Settings and exit the VI editor,
  • Related