From 7e28ca82bbc85a89ab7c976cd7580a8daa259846 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Tue, 10 Dec 2019 13:04:05 +0100 Subject: [PATCH] docs: Export "superusers" variable to apply to submenus Signed-off-by: Paul Menzel Reviewed-by: Daniel Kiper --- docs/grub.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/grub.texi b/docs/grub.texi index c25ab7a5f..08d699d49 100644 --- a/docs/grub.texi +++ b/docs/grub.texi @@ -5717,7 +5717,8 @@ 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. Note: The environment variable needs to be exported to also affect +the section defined by the @samp{submenu} command (@pxref{submenu}). Other users may be allowed to execute specific menu entries by giving a list of usernames (as above) using the @option{--users} option to the