Bugzilla – Bug 195
sudo without password
Last modified: 2007-06-19 13:03:36 MDT
Hello, I tried to configure sudo on my Debian based GNU/Linux such that I have to enter my password for executing commands as another user (using sudo of course). So I added this line to my /etc/sudoers file (using visudo): fendres ALL=(ALL) ALL The only other non-comment line in the sudoers file is: root ALL=(ALL) ALL However, being logged in as fendres I am not prompted for any password when using sudo. I also tried to change the sudo entry to: fendres ALL=PASSWD: ALL which did not help either. The sudo version is 1.6.8p7
Sudo will let you run other commands without entering a password if you ran a sudo command within the past 5 minutes by default. If that is not the case here then it could be a PAM configuration problem.
No reply, marking as invalid.