Setting The Grub Bootloader Password - Siemens SIMATIC NET RUGGEDCOM APE1808 Configuration Manual

Industrial ethernet switches for ape1808, ape1808w10
Hide thumbs Also See for SIMATIC NET RUGGEDCOM APE1808:
Table of Contents

Advertisement

Configuring and Using the RUGGEDCOM APE1808
2.6 Setting the GRUB Bootloader Password
2.6

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.
2.
3.
4.
5.
6.
7.
8.
14
Login or gain root access.
Create the GRUB bootloader password by typing:
grub-mkpasswd-pbkdf2
Type the new password when requested. GRUB displays a message similar to the
following:
PBKDF2 hash of your password is
grub.pbkdf2.sha512.10000.380AD91E6C36BB4018B5CABDAFF5CABC52A16B6EFF503B6B
B2E21199C006C526AEE3A2FF8C
F41F9A07AEFB1E8E2275ABB44C41B1429B9C5D509786E2B57A51DA.989F1E9FAC061899E1B
B8CB38D2119B26E6CE79A5
CBB637E5A611AE099EBBF7CD9BCF1A3EC516CE0E4AD007B7DF8E679220BC845E07E440F134D
ED2537081F54
Record the password for future use in the upcoming steps.
Using vim or nano, open the file /etc/grub.d/40_custom.
In the file /etc/grub.d/40_custom, add the following line:
set superusers="root"
Add the the following line:
password_pbkdf2 root KEY
Add the GRUB password created in
password_pbkdf2 root
grub.pbkdf2.sha512.10000.380AD91E6C36BB4018B5CABDAFF5CABC52A16B6EFF503B6B
B2E21199C006C526AEE3A2FF8CF
41F9A07AEFB1E8E2275ABB44C41B1429B9C5D509786E2B57A51DA.989F1E9FAC061899E1B
B8CB38D2119B26E6CE79A5CB
B637E5A611AE099EBBF7CD9BCF1A3EC516CE0E4AD007B7DF8E679220BC845E07E440F134D
ED2537081F54
Save and close the file.
Apply the GRUB bootloader password by typing:
grub-mkconfig -o /boot/grub/grub.cfg
Using vim or nano, open the file /boot/grub/grub.cfg and verify the user-
name and password defined within are correct.
Step 2
to this line. For example:
Configuration Manual, 11/2019, C79000-G8976-1415-03
RUGGEDCOM APE1808

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic net ruggedcom ape1808w10

Table of Contents