Re: [PATCH] Fix authentication not working in multi-level menus

2021-12-13 Thread zhouzilong
Thanks for the tip, it is true that variables can be saved via "export superusers". However, when the user switches from a sub-menu to a parent menu via "ESC",authentication is still required, and I don't think authentication should be performed when returning to the parent menu (unless one r

Re: [PATCH] Fix authentication not working in multi-level menus

2021-12-09 Thread Vladimir 'phcoder' Serbinenko
Why not just add "export superusers" to the config file? Le jeu. 9 déc. 2021, 15:42, 周子隆 a écrit : > Since GRUB supports multi-level menu entries: >In order to enable authentication support, the "superusers" variable > and "--unrestricted" in menu entry has been set, but GRUB authenticatio

[PATCH] Fix authentication not working in multi-level menus

2021-12-09 Thread 周子隆
Since GRUB supports multi-level menu entries:    In order to enable authentication support, the "superusers" variable  and "--unrestricted" in menu entry has been set, but GRUB authentication only works in the top-level menu entry. When entering a menu entry with "--unrestricted" set, users can