sudo: parse error in /etc/sudoers near line -1

Lanciando il seguente comando dall’utente xxxx

xxxx >sudo su – root -c SALVA_TUTTO_FABIO

Compare l’errore :

sudo: parse error in /etc/sudoers near line -1

Problema nella configurazione di sudo, nel file /etc/sudoers non erano impostati le configurazioni per l’utente xxxx

# User privilege specification
root ALL=(ALL) ALL
xxxx ALL= NOPASSWD: /usr/bin/su

sudo: parse error in /etc/sudoers near line -1