diff --git a/machine.yml b/machine.yml index f18a57f..4e3483e 100644 --- a/machine.yml +++ b/machine.yml @@ -440,3 +440,12 @@ mode: 0644 # On first tmux launch install plugins with + + # ---------------------------------------------------------------------------------------------- + # Set the root's shell to nologin. + # ---------------------------------------------------------------------------------------------- + + - name: Disable root shell + user: + name: root + shell: /usr/sbin/nologin