Bug#369439: [Pkg-shadow-devel] Bug#369439: chgpasswd terminates after asking for a password

Tomasz Kłoczko kloczek at zie.pg.gda.pl
Tue May 30 20:45:59 UTC 2006


Dnia 30-05-2006, wto o godzinie 22:01 +0200, Jonas Meurer napisał(a):
> On 30/05/2006 Tomasz Kłoczko wrote:
> > Dnia 29-05-2006, pon o godzinie 21:10 +0200, Jonas Meurer napisał(a):
> > > unfortunately, the new chgpasswd tool does not work as expected.
> > > according to docs and it's model 'chpasswd' it reads a string with the
> > > format "group_name:password" from standard input.
> > > obviously, this does not work.
> > 
> > Do you have /etc/pam.d/chgpasswd file ?
> 
> no, i didn't.

So this was the cause observed behavior.
chgpasswd was builded with PAM support. This program have owl PAM 
serwice description file. In case lack this kind files is used
default /etc/pam.d/deny.
Example /etc/pam.d/chgpasswd file is now avalible in CVS tree:

#%PAM-1.0
auth            sufficient      pam_rootok.so
account         required        pam_permit.so
password        include         system-auth

kloczek





More information about the Pkg-shadow-devel mailing list