0

Nplt user not have the permission to run the command crontab -l

so I add this lines in visudo

Nplt ALL=(root) NOPASSWD: crontab -l

but I get this error

isudo: >>> /etc/sudoers: syntax error near line 21 <<<
What now? ^Cvisudo exiting due to signal: Interrupt

what is wrong in my syntax?

1 Answer 1

3

Use

Nplt ALL=(root) NOPASSWD: /usr/bin/crontab -l

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .