[Pkg-shadow-devel] Bug#525153: Please support passwd --stdin

Michael Gebetsroither michael.geb at gmx.at
Mon Apr 27 18:04:51 UTC 2009


Nicolas François wrote:

> My point was that the same conversation function can be used for chpasswd,
> newusers, and passwd (i.e. I did not agree to "...but instead of all the
> quirks to get the encrypted password back from pam...")
> 
> Once chpasswd supports PAM, do you still need passwd --stdin?

no, not at all, PAM support in chpasswd would be equally nice.
But chpasswd should complain loud if it doesn't support pam.
(eg. --pam where older chpasswd versions exit with error).

> Supporting PAM in chpasswd looks much easier than supporting
> non-interactive password updates in passwd. (mostly because of the non-PAM
> paths)
> 
>>From the documentation point of view, this would also be easier to have
> different tools:
>  * passwd - update passwords interactively
>  * chpasswd - update passwords in batch mode
> 
> So if the use case is only "To set the password from scripts.", I would
> just propose to use chpasswd for this (once it will be fixed).

ACK!

michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20090427/af44bc39/attachment.pgp>


More information about the Pkg-shadow-devel mailing list