grub2-mkpasswd-pbkdf2 输入口令:(需要输入密码) Reenter password: (需要再次输入刚才的密码) PBKDF2 hash of your password is grub.pbkdf2.sha512.10000.8854921E3867A245C7DE1A522FA125FFA4A03FBCD2EF0A2F181353CCD579FCC8A99EAC649C619CBE1F49D6A134149158BC49B09AF392D9277D50C059D35F92A4.C30C7C47F5...
# grub-mkpasswd-pbkdf2 On CentOS, use the following command: # grub2-mkpasswd-pbkdf2 2. Next, open the /etc/grub.d/40_custom file in your text editor and add a line for your new user, along with the password hash that you just created. The line should look something like this: pa...