1. What is the Grub boot menu?
Grub is a boot manager that can boot Linux, XP, Windows, and more.
2. Why should I give the Grub boot menu settings?
Simply for safety. Grub Menu password is divided into ciphertext, plaintext.
3. How do I set a redaction for the Grub menu?
[[email protected] ~]# grub-md5-crypt #创建md5加密字符Password: peter #此部分为隐藏的, in order for everyone to see, I wrote the password I created. Retype password: Peter #再次输入密码 $1$. paw8$t.1qgxis2nqa0y2ci2n.4. #这是Peter密码生成的md5 [[email protected] ~] # ls -l /etc/grub.conf #查看/etc/grub.conf More information lrwxrwxrwx.  1 ROOT ROOT 22 JAN 20 18:08 /ETC/GRUB.CONF ->&NBSP, .... /boot/grub/grub.conf #可以看到/etc/grub.conf to make a soft connection to/boot/grub/grub.conf So the two paths are modified, and the result is the same. [[Email protected] ~]# vim /etc/grub.conf #修改grub配置文件 ... .../omit splashimage= (hd0,1)/grub/splash.xpm.gzpassword --md5 $1$...../omitted. paw8$t.1qgxis2nqa0y2ci2n.4. #新增此行 . to set the MD5 plaintext encryption method for grub Hiddenmenutitle CentOS (2.6.32-504.8.1.el6.x86_64) .../omission of [[email protected] ~]# reboot ./omitted from the ... #重启操作系统
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5B/2A/wKiom1UAYkvAVx5zAAGIWJ5eIjM391.jpg "title=" 1.png " alt= "Wkiom1uaykvavx5zaagiwj5eijm391.jpg"/>+
4. How do I set clear text for the Grub menu?
[[email protected] ~]# vim/etc/grub.conf #修改grub配置文件 .../omitted splashimage= (hd0,1)/grub/splash.xpm.gzpasswo "[e-mail]] ...... Rd Peter #将md5字符去掉后, which becomes plaintext encrypted. Hiddenmenu[[email protected] ~]# reboot #重启操作系统
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/24/wKioL1UAY4jiF4JqAAGIWJ5eIjM392.jpg "title=" 2.png " alt= "Wkiol1uay4jif4jqaagiwj5eijm392.jpg"/>
Summary: Grub does not show how to encrypt the typeface when editing kernel, regardless of whether the ciphertext is set or plaintext.
This article is from the Chen. "Blog, be sure to keep this provenance http://chenxiaojian.blog.51cto.com/9345444/1619540
To set a password for the Grub boot menu