Bug 518

Summary: sudo v1.8.3 with NOPASSWD fails
Product: Sudo Reporter: Eric <etmsys>
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: high    
Priority: low    
Version: 1.8.3   
Hardware: Sun   
OS: Solaris 2.x   
Attachments: Fix for crash when command terminates and NOPASSWD was specified

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!