1. grub-mkpasswd-pbkdf2 to get a string
2.nano /boot/grub/grub.cfg
增加两行
set superusers="putyourusernamehere"
password putyourusernamehere grub.pbkdf2 (省略)
重新启动后,没有作用,求正解?
debian如何使用grub-mkpasswd-pbkdf2 设置grub密码?
-
- 帖子: 980
- 注册时间: 2008-04-12 12:44
-
- 帖子: 980
- 注册时间: 2008-04-12 12:44
- supercatexpert
- 帖子: 403
- 注册时间: 2010-01-17 15:39
- 系统: Debian Wheezy AMD64
- 联系:
Re: debian如何使用grub-mkpasswd-pbkdf2 设置grub密码?
不能直接修改grub.cfg,而是应该在/etc/grub.d下面修改对应的文件,然后sudo update-grub
俺的GRUB2里面就有使用pbkdf2的密码
俺的GRUB2里面就有使用pbkdf2的密码
OS: Debian Wheezy (Testing) for AMD64~~~
Mobile Phone: Nokia N900, OS: Maemo 5.0 (Base on Debian)~~~
本人的项目: RhythmCat(Linux下的音乐播放器.....支持歌词等功能...)
http://code.google.com/p/rhythmcat
RhythmCat 2进行中 (https://github.com/supercatexpert/RhythmCat2/)
Mobile Phone: Nokia N900, OS: Maemo 5.0 (Base on Debian)~~~
本人的项目: RhythmCat(Linux下的音乐播放器.....支持歌词等功能...)
http://code.google.com/p/rhythmcat
RhythmCat 2进行中 (https://github.com/supercatexpert/RhythmCat2/)