Test with Debian 6

Line in  /etc/sudoers :

 pascal debian = NOPASSWD: /sbin/shutdown


Command at the shell prompt :

sudo shutdown -r 20


Content of the auth.log file :

May 29 16:22:40 debian sudo:   pascal : TTY=pts/0 ; PWD=/home/pascal ;
USER=root ; COMMAND=/sbin/shutdown -r 20


The command execute properly and sudo does not ask for a password.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/996753

Title:
  entry in sudoers to execute a script without password prompt as root
  has no effect since 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/996753/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to