Utiliser sudo permet d'empêcher root de se connecter par mot de passe (ex root:!::0:99999:7::: dans /etc/shadow).
/etc/sudoers :
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
monuser ALL= NOPASSWD: ALL
/etc/sudoers :
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
monuser ALL= NOPASSWD: ALL


