grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disable CLI in submenu but allow users to access it


From: Vladimir 'phcoder' Serbinenko
Subject: Re: Disable CLI in submenu but allow users to access it
Date: Fri, 29 Nov 2019 16:34:19 +0100



On Fri, 29 Nov 2019, 15:17 Paul Menzel, <address@hidden> wrote:
Dear GRUB folks,


Is it possible to allow unprivileged users to access a submenu but
not enter the command-line interface?

Reading the documentation [1] it’s not clear to me how to do that,
and my tests to do that also failed.

The warning in [2] also hints that it’s not possible.
You need to export variables related to security

> Warning — Adding --unrestricted to a menu entry with submenuentry
> will allow ANYONE gain superuser authority in the submenuentry ! So
> make sure the --unrestricted option is not used for a menu entry with
> submenuentry, Or add GRUB_DISABLE_SUBMENU=y to /etc/default/grub /
> /etc/sysconfig/grub to disable submenu.


Kind regards,

Paul


[1]: https://www.gnu.org/software/grub/manual/grub/grub.html#Security
[2]: https://philosophos.github.io/articles/20170304~Password-Protection-of-GRUB-Menu/

_______________________________________________
Grub-devel mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/grub-devel

reply via email to

[Prev in Thread] Current Thread [Next in Thread]