Bug 6980 - Problem with expired passwords
Summary: Problem with expired passwords
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: passwd
Version: 6.1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-11-13 03:37 UTC by phlip
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2003-01-24 19:05:50 UTC

Attachments (Terms of Use)

Description phlip 1999-11-13 03:37:19 UTC
If I do something like `chage -M 365 -d 1 -I 0 test` to force a user to
choose a new password on next login, they get a message that says 'passwd:
Only root can specify a username' and get booted when they try to log in

Comment 1 phlip 1999-11-15 04:31:59 UTC
Sorry for the bug report.  The problem appears to be the ssh version 1 daemon
calling passwd and passing it the username.  I corrected the sshd code and now
it works.

Comment 2 redhat-bugzilla 2000-01-18 17:10:59 UTC
Actually, I think this *is* a subtle and relatively easy-to-fix bug
in the passwd program itself (/usr/bin/passwd). It makes Red Hat's
passwd act unlike every other Unix' passwd -- causing, for example,
problems in sshd.

I wrote a patch for this bug, and for one bug in the Makefile, at
That's against the passwd-0.63-1.src.rpm package from Red Hat 6.1.

Comment 3 Cristian Gafton 2000-05-22 15:36:59 UTC
assigned to nalin

Comment 4 Stephen John Smoogen 2003-01-24 19:05:50 UTC
Was not able to duplicate on Red Hat Linux 7.3 machine. It may be because of
different version of SSH or changes in code since 1999. Please re-open if the
problem can be found on your system, and I will try to figure out what
differences are causing a 'WORKSFORME'

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