There are only 3 steps to password protect users to edit grub properties while system booting:
1) Run following command to generate MD5 encrypted password:
root@localhost# grub-md5-crypt
Password:
Retype password:
$1$yAr5c0$ZYlcLULaS2rwOvry1B4gX/
2) Copy MD5 encrypted password of above command
3) Paste copied MD5 encrypted password in menu.list/grub.conf file :
default = 0
timeout=5
password --md5 $1$yAr5c0$ZYlcLULaS2rwOvry1B4gX/
Thats it!!!
Now whenever user's try to run GRUB commands or try to change booting parameters at the time of BOOT, above entered text password will be required!!
1) Run following command to generate MD5 encrypted password:
root@localhost# grub-md5-crypt
Password:
Retype password:
$1$yAr5c0$ZYlcLULaS2rwOvry1B4gX/
2) Copy MD5 encrypted password of above command
3) Paste copied MD5 encrypted password in menu.list/grub.conf file :
default = 0
timeout=5
password --md5 $1$yAr5c0$ZYlcLULaS2rwOvry1B4gX/
Thats it!!!
Now whenever user's try to run GRUB commands or try to change booting parameters at the time of BOOT, above entered text password will be required!!
No comments:
Post a Comment