Protect the grub boot menu.
This commit is contained in:
parent
1f6d262ad4
commit
adc9aa8489
2 changed files with 11 additions and 1 deletions
|
@ -155,7 +155,15 @@
|
|||
command: sync-vm.sh -t
|
||||
## FIXME: do not run every time
|
||||
|
||||
################# from kiosk.yml ##################
|
||||
################# general settings ##################
|
||||
- name: Protect grub menu entries
|
||||
blockinfile:
|
||||
path: /etc/grub.d/40_custom
|
||||
block: |
|
||||
set superusers='root'
|
||||
password_pbkdf2 root {{ grub_pwd }}
|
||||
notify: update grub
|
||||
|
||||
- name: grub timeout
|
||||
lineinfile:
|
||||
dest: /etc/default/grub
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue