mirror of
https://github.com/Antynea/grub-btrfs.git
synced 2026-03-04 13:05:00 +08:00
Add password protection support for the submenu (#97)
* Add password protection support for the submenu Grub2 supports superuser and user access using passwords. #95 -Ability to add authorized users. -Possibility to disable password protection for the submenu. * Update config * Update README.md
This commit is contained in:
14
README.md
14
README.md
@@ -136,6 +136,20 @@ You have the possibility to modify many parameters in `/etc/default/grub-btrfs/c
|
||||
|
||||
Name or path of the 'grub-mkconfig' executable; might be 'grub2-mkconfig' on some distributions.
|
||||
|
||||
- Password protection management for submenu (refer to the [Grub documentation](https://www.gnu.org/software/grub/manual/grub/grub.html#Authentication-and-authorisation))
|
||||
|
||||
- GRUB_BTRFS_PROTECTION_AUTHORIZED_USERS=""
|
||||
|
||||
Add authorized usernames separate by comma (foo,bar)
|
||||
|
||||
When Grub's password protection is enabled, the superuser is authorized by default, it isn't necessary to add it
|
||||
|
||||
- GRUB_BTRFS_DISABLE_PROTECTION_SUBMENU="false"
|
||||
|
||||
Disable authentication support for submenu of Grub-btrfs only (--unrestricted)
|
||||
|
||||
doesn't work if `GRUB_BTRFS_PROTECTION_AUTHORIZED_USERS` isn't empty
|
||||
|
||||
##
|
||||
### Automatically update grub
|
||||
If you would like Grub to automatically update when a snapshot is made or deleted:
|
||||
|
||||
Reference in New Issue
Block a user