Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 57858 - su fails to truncate long passwords
su fails to truncate long passwords
Product: Red Hat Linux
Classification: Retired
Component: sh-utils (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2001-12-28 13:48 EST by kenneth_porter
Modified: 2007-04-18 12:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-01-09 15:01:40 EST
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 kenneth_porter 2001-12-28 13:48:05 EST
Prior to upgrading to RH 7.2, my root password was longer than 8 
characters, and entering the whole thing was accepted by su. Following the 
upgrade (sh-utils-2.0.11-5), I can enter the long password with the passwd 
command, but I must only enter the first 8 characters to su. su rejects 
the longer password.

I believe there's a similar problem with the main desktop login, so this 
may be a PAM issue.
Comment 1 Bernhard Rosenkraenzer 2002-01-09 10:16:49 EST
Works for me...
Are you sure MD5 passwords are enabled? (MD5 passwords are on if the password hashes in /etc/shadow start with "$1$")
Comment 2 kenneth_porter 2002-01-09 15:01:35 EST
MD5 is not specified in /etc/pam.d/system-auth, and there are no "$1$" style
prefixes in /etc/shadow.
Comment 3 Bernhard Rosenkraenzer 2002-01-22 17:46:39 EST
long passwords don't work unless md5 passwords are enabled. Please use
"authconfig" to fix your configuration.

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