docs: Export `superusers` to apply to submenus
PATCH 1/1 docs: Export `superusers` to apply to submenus
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(-)
docs/grub.texi +4 -3
@@ -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. 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
Signature · 1 line
2.24.0
Quoted 13 lines · Paul Menzel
Date: Tue, 10 Dec 2019 12:52:22 +0100
Subject: [PATCH] docs: Exportsuperusersto apply to submenusSigned-off-by Paul Menzel <[email protected]>--- docs/grub.texi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)docs/grub.texi +0
-0
docs/grub.texi variable must be set to a list of usernames, separated by any of spaces, · line 5721
Quoted 10 lines
docs/grub.texi +4
-3@@ -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