[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Password protecting grub



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Mar 16, 2016 at 01:27:40PM +0100, jdd wrote:
> Le 16/03/2016 13:16, Himanshu Shekhar a écrit :
> >On Wed, Mar 16, 2016 at 5:39 PM, jdd <jdd@dodin.org
> ><mailto:jdd@dodin.org>> wrote:
> >
> >    Le 16/03/2016 12:37, Himanshu Shekhar a écrit :
> >
> >        " set superusers="root"
> >            password root rootpassword
> >
> >
> >    if it's a bash command, it should be "passwd", not "password"
> >
> >    jdd
> >
> >
> >Tried! Didn't work.
> >
> >Regards
> well... it may be simply a variable for grub. I never used it.
> 
> I guess you read this page or some similar:
> 
> http://superuser.com/questions/488275/grub-2-password-protection-in-debian
> 
> may be insert "echo message" lines to see where is the problem exactly?

If I understand it correctly, the stdout of these scripts end up
as a command stream for grub. So echo might be the wrong idea.

Perhaps echo to stderr...

regards
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlbpTWoACgkQBcgs9XrR2kb5awCbBrZZ4/VyWYkVbKZvtSQoJYZf
0WoAnRA1RMX5kZxCF6/fbX5XXihcJKo9
=GZwY
-----END PGP SIGNATURE-----


Reply to: