Bug 435 - log_input/log_output/use_pty causes sudo to hang
log_input/log_output/use_pty causes sudo to hang
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.7.4
IBM AIX
: normal normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-03 07:56 MDT by Kent Squires
Modified: 2010-09-14 16:43 MDT (History)
0 users

See Also:


Attachments
Fix for AIX pty allocation (385 bytes, patch)
2010-09-03 17:32 MDT, Todd C. Miller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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