Bug 6599 - Changing password for user not in /etc/shadow fails
Changing password for user not in /etc/shadow fails
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: passwd (Show other bugs)
6.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Cristian Gafton
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-11-01 09:07 EST by Mads Kiilerich
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:
Environment:
Last Closed: 2000-02-17 16:51:19 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Mads Kiilerich 1999-11-01 09:07:02 EST
Case:

A user is added manually to /etc/passwd
The password is set with passwd

Result: Still no entry in /etc/shadow and thus the user
cannot login.

This might be the right behaviour, but then the passwd
command shouldn't report "success".

Regards,
Mads
Comment 1 Cristian Gafton 2000-02-17 16:51:59 EST
Don't add users only in /etc/passwd. User useradd.
Comment 2 Mads Kiilerich 2000-02-19 06:16:59 EST
Agreed.

But some (slightly bogus) programs modifies /etc/passwd directly.

When passwd for such a user is set, then passwd should at least check if the
system is using shadows, and if that is the case then it should not report
success!

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