|
From: | Andrei Borzenkov |
Subject: | Escape to CLI (was: Re: [PATCH] broken ESC navigation if authentication is used) |
Date: | Tue, 10 Nov 2015 21:48:16 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
10.06.2015 19:29, Florian Kaiser пишет:
Hi, we are using grub2 with authentication enabled and multiple submenus. Unfortunately it is not possible to return to a previous menu with ESC without triggering a superuser password prompt. This is not the desired behavior in my opinion. I attached a patch to this email, which removes the password prompt when pressing escape.
Actually I could not even reproduce it at first. The problem is, new submenu opens new context and unless `superusers' is exported as soon as we enter submenu no authentication is required at all (including entering CLI).
I am not sure whether this is intentional, but this is definitely unexpected. And due to complete lack of description of variable scoping in GRUB it is also undocumented.
Options are- simply document variable scoping and mention it in authentication description
- propagate superusers to submenus, rely on normal export in nested config. Still needs documentation what export actually does.
- export superusers by default and document it in description.
[Prev in Thread] | Current Thread | [Next in Thread] |