Red Hat Bugzilla – Bug 112233
sudo quits after asking for the password, returning error code 255
Last modified: 2007-04-18 13:00:15 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Description of problem:
When running any sudo command, sudo just quits after asking for the
password. Error code 255 is returned, no other error messages (console
sudo-1.6.7p5-5 worked fine, the sudo config remained unchanged.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Try running any allowed command via sudo
Actual Results: sudo just drops back to the shell
Expected Results: Execution of command
This might be related to the new selinux features in sudo, so this may
be a bug in libselinux, too.
sudo-1.6.7p5-5, libselinux 1.4-1
Sudo actually complains it's not root (although /usr/bin/sudo is owned
by 0:0 and is suid)
Problem continues in sudo-1.6.7p5-7.
This release also does not work for me :(
| open(NULL, 2, 00) = -1
which causes sudo to fail. This happens in the new
| + fd = open(ttyn,O_RDWR);
where 'ttyn' gets initialized in the 'if( is_selinux_enabled() )'
Seeing this too - sudo-1.6.7p5-7, libselinux-1.4-3 on x86_64 (AMD Opteron)
WFM with sudo-1.6.7p5-9