Bug 195 - sudo without password
sudo without password
Status: RESOLVED INVALID
Product: Sudo
Classification: Unclassified
Component: Configure
1.6.8
PC Linux
: normal normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-30 15:50 MDT by felix endres
Modified: 2007-06-19 13:03 MDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description felix endres 2005-08-30 15:50:50 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
Comment 1 Todd C. Miller 2005-10-28 12:53:36 MDT
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.
Comment 2 Todd C. Miller 2007-06-19 13:03:36 MDT
No reply, marking as invalid.