Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:Update
grub2.31391
grub2-menu-unrestricted.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File grub2-menu-unrestricted.patch of Package grub2.31391
Index: grub-2.02~beta2/grub-core/normal/menu.c =================================================================== --- grub-2.02~beta2.orig/grub-core/normal/menu.c +++ grub-2.02~beta2/grub-core/normal/menu.c @@ -213,7 +213,17 @@ grub_menu_execute_entry(grub_menu_entry_ grub_size_t sz = 0; if (entry->restricted) - err = grub_auth_check_authentication (entry->users); + { + int auth_check = 1; + if (entry->users && entry->users[0] == 0) + { + const char *unr = grub_env_get ("unrestricted_menu"); + if (unr && (unr[0] == '1' || unr[0] == 'y')) + auth_check = 0; + } + if (auth_check) + err = grub_auth_check_authentication (entry->users); + } if (err) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor