Bug 435

Summary: log_input/log_output/use_pty causes sudo to hang
Product: Sudo Reporter: Kent Squires <ksquire>
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: normal    
Priority: normal    
Version: 1.7.4   
Hardware: IBM   
OS: AIX   
Attachments: Fix for AIX pty allocation

Description Kent Squires 2010-09-03 07:56:35 MDT
AIX 5300-12-01
32bit machine
any version of sudo 1.7.3 and up

if any one of the following are in /etc/sudoers, sudo hangs when executing a command (e.g. sudo df).  /var/log/sudo-io/seq is created, but that's it.

This happens on:
a custom compiled version
the BFF package
the RPM package


Defaults log_input
Defaults log_output
Defaults use_pty
Comment 1 Todd C. Miller 2010-09-03 17:31:34 MDT
This was fixed in trunk but didn't get merged to the 1.7 branch.  I've attached a fix.
Comment 2 Todd C. Miller 2010-09-03 17:32:51 MDT
Created attachment 289 [details]
Fix for AIX pty allocation
Comment 3 Todd C. Miller 2010-09-14 16:43:42 MDT
Fixed in sudo 1.7.4p4