debian如何使用grub-mkpasswd-pbkdf2 设置grub密码?

其他Linux/Unix/BSD/OSX等发行版讨论
回复
罗非鱼
帖子: 980
注册时间: 2008-04-12 12:44

debian如何使用grub-mkpasswd-pbkdf2 设置grub密码?

#1

帖子 罗非鱼 » 2012-10-01 19:24

1. grub-mkpasswd-pbkdf2 to get a string
2.nano /boot/grub/grub.cfg
增加两行
set superusers="putyourusernamehere"
password putyourusernamehere grub.pbkdf2 (省略)
重新启动后,没有作用,求正解?
罗非鱼
帖子: 980
注册时间: 2008-04-12 12:44

Re: debian如何使用grub-mkpasswd-pbkdf2 设置grub密码?

#2

帖子 罗非鱼 » 2012-10-07 8:03

请看链接:
http://www.howtogeek.com/102009/how-to- ... ot-loader/

在debian里面无法使用 update-grub命令!!
头像
supercatexpert
帖子: 403
注册时间: 2010-01-17 15:39
系统: Debian Wheezy AMD64
联系:

Re: debian如何使用grub-mkpasswd-pbkdf2 设置grub密码?

#3

帖子 supercatexpert » 2012-10-11 18:48

不能直接修改grub.cfg,而是应该在/etc/grub.d下面修改对应的文件,然后sudo update-grub
俺的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/)
回复