On Tue, Dec 10, 2019 at 01:04:05PM +0100, Paul Menzel wrote:
> Date: Tue, 10 Dec 2019 12:52:22 +0100
> Subject: [PATCH] docs: Export `superusers` to apply to submenus
>
> Signed-off-by: Paul Menzel <[email protected]>
> ---
>  docs/grub.texi | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/docs/grub.texi b/docs/grub.texi
> index c25ab7a5f..615c32d99 100644
> --- a/docs/grub.texi
> +++ b/docs/grub.texi
> @@ -5715,9 +5715,10 @@ variable must be set to a list of usernames, separated 
> by any of spaces,
>  commas, semicolons, pipes, or ampersands.  Superusers are permitted to use
>  the GRUB command line, edit menu entries, and execute any menu entry.  If
>  @samp{superusers} is set, then use of the command line and editing of menu
> -entries are automatically restricted to superusers. Setting @samp{superusers}
> -to empty string effectively disables both access to CLI and editing of menu
> -entries.
> +entries are automatically restricted to superusers. Note, the environment
> +variable needs to be exported to also affect the section defined by the
> +@samp{submenu} command (@pxref{submenu}). Setting @samp{superusers} to empty
> +string effectively disables both access to CLI and editing of menu entries.

I would add that note at the end of the paragraph. If you want you can
repost the patch. If not I will fix it before committing. Otherwise
Reviewed-by: Daniel Kiper <[email protected]>

Daniel

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to