Red Hat Bugzilla – Bug 40348
su hangs with blank root password under 2.4.x (similar to bug 37615)
Last modified: 2007-04-18 12:33:12 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
Description of problem:
On RH 7.1 with kernel 2.4.4 and sh-utils sh-utils-2.0-13 with root having
a blank password, 'su -' hangs, leaving an 'stty erase ?' with stat 'T'.
strace says "write(2, "incorrect password", 18incorrect password)" even
though password entry in shadow is BLANK. Plus, this only happens with
2.4.x - the stock kernel is fine. See http://www.chipware.net/strace-
output.txt for complete strace output. Also, if I give root a password,
this bug goes away. If I kill -9 the zombie stty process, the su - is
unhung and a root prompt appears.
Steps to Reproduce:
1. Load redhat 7.1, bare install with gcc/etc utils installed.
2. Blank root password: root::11454:0:99999:7:::
3. Compile 2.4.4 kernel, install, boot.
4. login as nonpriv user, run 'su -'
Actual Results: [chip@pioneer chip]$ su -
Expected Results: [chip@pioneer chip]$ su -
Looking at the strace output, this seems to be the same problem as 37615, some
interoperability issue between glibc and the kernel. Update to the current
kernel and glibc pacakges.
*** This bug has been marked as a duplicate of 37615 ***