Set the owner and group of your boot loaders config file to the root user. These instructions default to GRUB stored at /boot/grub/grub.cfg. Setting the owner and group to root prevents non-root users from changing the file.
Solution
Run the following to change ownership of /boot/grub/grub.cfg- # chown root-root /boot/grub/grub.cfg