]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
docs: Export "superusers" variable to apply to submenus
authorPaul Menzel <pmenzel@molgen.mpg.de>
Tue, 10 Dec 2019 12:04:05 +0000 (13:04 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Fri, 20 Dec 2019 19:35:21 +0000 (20:35 +0100)
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
docs/grub.texi

index c25ab7a5fe7c19326b929956b4e97adb91a9475c..08d699d4918557047a2e622320a48eda38357dc6 100644 (file)
@@ -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