
Configuring and Using the RUGGEDCOM APE
2.9 Setting the GRUB Bootloader Password
2.9
Setting the GRUB Bootloader Password
To set the GRUB bootloader password, do the following:
NOTICE
Use strong passwords. Avoid weak passwords such as
password1
,
123456789
,
abcdefgh
, etc.
1. Login or gain root access.
2. Create the GRUB bootloader password by typing:
grub-mkpasswd-pbkdf2
Type the new password when requested. GRUB displays a message similar to the
following:
Your PBKDF2 is grub.pbkdfs.sha512.10000.{salt}.{hashed_password}
3. Copy the password (e.g. select on-screen and then press
Ctrl
-
C
).
4. Using vim or nano, open the file /etc/defaults/grub.password .
5. In the file /etc/defaults/grub.password , locate the following line:
GRUB_USER=
Add a username (e.g. root) to this line. For example:
GRUB_USER=root
6. Locate the following line:
GRUB_ENCRYPTED_PASSWORD=
Add the GRUB password created in
P
or
p
in vim, or
Ctrl
-
U
in nano). For example:
GRUB_ENCRYPTED_PASSWORD=grub.pbkdf2.sha512.10000.82BA3D30037BBB
B0A5EEED9395A036E973299517EAC3530A46
45406C692279EBDF12603E11E0E2F02BF32888A2F61DD8467FA8C0F3641CF8F
DA452F40571E988.BF312D710D4E451A63264
C47C8CCBF40D429E1D6FF21D6AE95CA36F2D9AEE44C37AE1DF59C5303A9736840C7B2B
BC1AA8045984FB6017F08559B11D0C
19E5E0F
7. Save and close the file.
8. Apply the GRUB bootloader password by typing:
update-grub
9. Using vim or nano, open the file
/boot/grub/grub.cfg
and verify the user-
name and password defined within are correct.
2.10
Setting the Hard Drive Password
On Windows Embedded Standard 7 , BitLocker can be used to password-encrypt the
hard drive. There are no pre-installed applications to password-encrypt the hard drive
on other software platforms .
16
RUGGEDCOM APE (Application Processing Engine)
Configuration Manual, 12/2019, C79000-G8976-1121-05