0

Per this post,I know it's easy to change password when boot GRUB.
When I read set debian grub password ,I run command as below:

cat << EOF >> /boot/grub/menu.lst
timeout 3
password hackme
EOF

But it doesn't work,I can still change password when boot GRUB,without input hackme.
How to avoid password change when boot GRUB in debian 10 system?

kittygirl
  • 855
  • 4
  • 10
  • 29
  • Have you seen [this](https://help.ubuntu.com/community/Grub2/Passwords)? (recommend careful reading, easy to end up with inaccessible system) – anx Jun 24 '21 at 04:30
  • @anx,then what 's usage of my script?password to protect what? – kittygirl Jun 24 '21 at 04:34

0 Answers0