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
Summary: root password of length greater than 8 charachters: any characters, if any, f...
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: getty_ps   
(Show other bugs)
Version: 8.0
Hardware: athlon Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
Keywords: Security
Depends On:
TreeView+ depends on / blocked
Reported: 2003-04-30 17:06 UTC by Need Real Name
Modified: 2014-03-17 02:36 UTC (History)
1 user (show)

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

Attachments (Terms of Use)

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:
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.

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