Bug 518 - sudo v1.8.3 with NOPASSWD fails
sudo v1.8.3 with NOPASSWD fails
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.8.3
Sun Solaris 2.x
: low high
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-25 07:44 MDT by Eric
Modified: 2011-10-26 07:50 MDT (History)
0 users

See Also:


Attachments
Fix for crash when command terminates and NOPASSWD was specified (2.65 KB, patch)
2011-10-25 09:41 MDT, Todd C. Miller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric 2011-10-25 07:44:45 MDT
I downloaded the latest 1.8.3 and compiled it.  It appears the a user with just this entry:

hobbit ALL = NOPASSWD: /bin/df

Results in no output when running "sudo /bin/df" anymore.

Downgrading to 1.8.2 fixes the issue.

---Eric
Comment 1 Todd C. Miller 2011-10-25 09:41:10 MDT
Created attachment 319 [details]
Fix for crash when command terminates and NOPASSWD was specified

The monitor process was crashing after the command exited due to PAM not being fully setup when NOPASSWD was specified.  The attached patch fixes this.
Comment 2 Todd C. Miller 2011-10-25 16:33:15 MDT
Fixed in sudo 1.8.3p1, available now from http://www.sudo.ws/sudo/download.html
Comment 3 Eric 2011-10-26 07:50:49 MDT
I downloaded 1.8.3_p1 and verified it is fixed.  Thanks!