Created
December 3, 2021 16:10
-
-
Save ChrisTitusTech/ebb28e49fea3ccaef4d4e730a4ef6a25 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Create Encrypted Hash for Password | |
``` | |
sudo grub-mkpasswd-pbkdf2 | |
``` | |
## Add Hash to GRUB | |
``` | |
sudo vim /etc/grub.d/40_custom | |
``` | |
Add to end of file | |
``` | |
set superusers="titus" | |
password_pbkdf2 titus grub.pbkdf2.sha512.10000.EXAMPLE000EXAMPLE000 | |
``` | |
## Finally Update GRUB | |
``` | |
sudo update-grub | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment