Bug 89974 - root password of length greater than 8 charachters: any characters, if any, following the first 8 characters of the password are ignored for authentication
root password of length greater than 8 charachters: any characters, if any, f...
Product: Red Hat Linux
Classification: Retired
Component: getty_ps (Show other bugs)
athlon Linux
high Severity medium
: ---
: ---
Assigned To: Bill Nottingham
: Security
Depends On:
  Show dependency treegraph
Reported: 2003-04-30 13:06 EDT by Need Real Name
Modified: 2014-03-16 22:36 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-04-30 14:04:25 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2003-04-30 13:06:00 EDT
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:
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 14:04:25 EDT
If you use MD5 encryption for your root password, it will work fine.

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

Note You need to log in before you can comment on or make changes to this bug.