#477092 grub-installer: does not support setting password for grub2

#477092#5
Date:
2008-04-20 21:12:38 UTC
From:
To:
grub-installer currently does not support setting a grub password when
grub2 is selected.

#477092#12
Date:
2009-08-27 20:36:35 UTC
From:
To:
grub2 supports now setting a password.
I just documented that in the wiki:
http://grub.enbug.org/Authentication

It's a bit different then grub-legacy's.
/etc/default/grub doestn't have any support for it.
I think the best would be to create a /etc/grub.d/01_password file or
something like that.

#477092#17
Date:
2009-09-04 19:11:23 UTC
From:
To:
tag 477092 + patch
thanks

Here's now a patch which adds support to set a username and password for
GRUB 2
The debconf templates probable need to be changed. I'm not that perfect
in writing them.
And I wasn't sure what to do if people enter a username but no password.
Now I just don't set anything if no password has been given just like
with grub-legacy.

#477092#24
Date:
2009-09-04 22:31:00 UTC
From:
To:
Best behaviour is probably to fail displaying that the password can't
be empty, like it is currently done in user-setup.

Cheers,

#477092#29
Date:
2009-09-05 08:14:33 UTC
From:
To:
(CC'ing dle for templates review)

Quoting Felix Zielcke (fzielcke@z-51.de):

"s/your system/the system"

maybe s/starting up/booting up"

I'm not sure about "To defend against this"

"username" or "user name"?


I'd suggest something else than "you want to use".

Maybe "Please enter the GRUB 2 password."

We need to choose between "GRUB 2" and "GRUB". Probably drop the
"2". After all, this might be used in an hypothetical GRUB3, right? :-)

Another option is somethign similar to the root password prompt:

_Description: GRUB password:
 You need to set a password for GRUB. A malicious or unqualified user
 with GRUB access can have disastrous results, so you should take care
 to choose a GRUB password that is not easy to guess. It should not be
 a word found in dictionaries, or a word that could be easily
 associated with you.

(that will help translators as fuzzy matching will prefill translations)

You may want to use the same wording than the similar template in
user-setup:

_Description: Empty password
 You entered an empty password, which is not allowed.
 Please choose a non-empty password.

#477092#34
Date:
2009-09-05 10:57:54 UTC
From:
To:
Christian Perrier wrote:
[...]

No strong opinion on any of these (even the "you might not be the
owner" quibble is weak here).

One word.  "Christian Perrier" and "Justin B Rye" are user names,
but not their usernames.
[...]

Looks good to me.
and you don't want (to get) authorization, you want there to be
authentication.

This loses the advice on what to do if you're not trying to set up a
password.  On the other hand, how would I apply that advice if I
didn't already know about dpkg-reconfigure?  Is there a "back"
button?

#477092#39
Date:
2024-08-27 07:05:12 UTC
From:
To:
^Did you get our proposal? let me know.
Thanks
Mrs. Agnes Cardella