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

Bug#477092: [PATCH] add support for setting a username + password in grub-installer for GRUB 2

(CC'ing dle for templates review)

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

> Index: debian/grub-installer.templates
> ===================================================================
> --- debian/grub-installer.templates	(revision 60631)
> +++ debian/grub-installer.templates	(working copy)
> @@ -87,6 +87,32 @@ _Description: Device for boot loader ins
>      your third drive (SCSI here);
>    - "(fd0)" or "/dev/fd0" will install GRUB to a floppy.
> +Template: grub-installer/superuser
> +Type: string
> +# :sl2:
> +_Description: GRUB superuser:
> + The GRUB boot loader offers many powerful interactive features, which could
> + be used to compromise your system if unauthorized users have access to the
> + machine when it is starting up. To defend against this, you may choose a
> + username and password which will be required before editing menu entries or
> + entering the GRUB command-line interface. By default, any user will still be
> + able to start any menu entry without entering a username and password.
> + .
> + If you do not wish to set a GRUB username, leave this field blank.
> +

"s/your system/the system"

maybe s/starting up/booting up"

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

"username" or "user name"?

> +Template: grub-installer/grub2-password
> +Type: password
> +# :sl2:
> +_Description: GRUB password:
> + Please enter the password you want to use for GRUB 2.

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)

> +
> +Template: grub-installer/empty-password
> +Type: error
> +# :sl2:
> +_Description: Empty password
> + You have given a username but no password. If you don't want authorization
> + please don't specify an username, else you have to give a password.
> +

You may want to use the same wording than the similar template in

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

Attachment: signature.asc
Description: Digital signature

Reply to: