mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-25 12:44:35 +00:00
Add grub credentials config
This commit is contained in:
parent
2e6e16ba78
commit
e329fed20d
13
root/etc/grub.d/09_credentials
Executable file
13
root/etc/grub.d/09_credentials
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
exec tail -n +3 $0
|
||||
|
||||
# Setup GRUB credentials so that it isn't possible for anyone to change the
|
||||
# boot parameters or use the command line, unless they know user/password pair
|
||||
#set superusers="admin"
|
||||
#password admin [unsafe plaintext password]
|
||||
#password_pbkdf2 admin [safe grub-mkpasswd-pbkdf2 password]
|
||||
|
||||
|
||||
# Make OS Entries unrestricted, so that they can be booted into without prompting
|
||||
# for user/password pair set above
|
||||
#menuentry_id_option="--unrestricted $menuentry_id_option"
|
|
@ -9,3 +9,4 @@ if [ ${grub_platform} == "efi" ]; then
|
|||
fwsetup
|
||||
}
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue