Bug 9232 - Null password badly processed
Null password badly processed
Product: Red Hat Linux
Classification: Retired
Component: pwdb (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Depends On:
  Show dependency treegraph
Reported: 2000-02-08 13:10 EST by Patrick Monnerat
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-12-13 21:34:10 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 Patrick Monnerat 2000-02-08 13:10:01 EST
After upgrade to RH6.1, I was not able to log on: my login was not
password-protected (Not a NW machine!). The system always asked for a
password and failed, whatever was the answer.
Since "nullok" was specified in the PAM file, it should have been working.
Hints for fix: My own investigations showed me that in the
libpwdb/interface/unix/user.c, a test is made for "strlen(storedpassword)
> 1" where the comments say " != 1"... The comment is right, since the
code redirects the null password processing to a non-existent shadow
password file.
After fixing as above and recompiling libpwd, the null password feature is
I may also suggest this bug affects the "passwd" command... check
Comment 1 Cristian Gafton 2000-05-22 11:37:59 EDT
assigned to nalin
Comment 2 Patrick Monnerat 2000-06-13 08:03:19 EDT
... seems to be fixed in RedHat 6.2 with the new version of pwdb (the same way 
I did!)

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