Bug 89974

Summary: root password of length greater than 8 charachters: any characters, if any, following the first 8 characters of the password are ignored for authentication
Product: [Retired] Red Hat Linux Reporter: Need Real Name <ecsoln>
Component: getty_psAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: 8.0CC: rvokal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: athlon   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-04-30 18:04:25 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 2003-04-30 17:06:00 UTC
Description of problem:

My root and user account passwords are greater in length than 8 characters.  My 
user accounts required the entire password be entered correctly for 
authentication to be successful.  However, my root account only requires that 
at least the correct first 8 characters of my password be entered: anything 
that follows, if any, is ignored.

I don't know if the same is the case for any other lengths of passwords less 
than 8 characters.

I don't remember if the corrent password was set during the installation 
process or if it was changed using 'passwd' post install.  I think it's likely 
the latter. 

I tried resetting my password to the same value using 'passwd': that seemed to 
fix the problem.  But I don't understand what caused the user authentication 
process to ignore all but the first 8 characters in the root password.

This is deeply troubling... 





Version-Release number of selected component (if applicable):
8.0 psyche

How reproducible:


Steps to Reproduce:
1.
2.
3.
    
Actual results:
only the first 8 characters are required for successful authentication: any 
that follow, if any, are ignored

Expected results:
should require the entire password for authentication to be successful

Additional info:

Comment 1 Bill Nottingham 2003-04-30 18:04:25 UTC
If you use MD5 encryption for your root password, it will work fine.

crypt() style encryption only supports the first 8 characters.