Bug 40348

Summary: su hangs with blank root password under 2.4.x (similar to bug 37615)
Product: [Retired] Red Hat Linux Reporter: Need Real Name <turk182>
Component: sh-utilsAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-05-12 12:04:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2001-05-12 12:04:54 UTC
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.

How reproducible:
Always

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 -
[root@pioneer /root]#

Additional info:

Comment 1 Bernhard Rosenkraenzer 2001-05-14 10:41:36 UTC
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 ***