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

Nicolas François nicolas.francois at centraliens.net
Sun Apr 26 17:17:50 UTC 2009


On Wed, Apr 22, 2009 at 04:45:31PM +0200, gebi at grml.org wrote:
> Package: passwd
> Version: 1:4.1.3.1-1
> Severity: wishlist
> 
> Hi,
> 
> Please support reading passwords from stdin in passwd (restricted to
> root only).

What would be the use case for this?

Isn't it what chpasswd already do?

> It's a bit related to #505640 imho, but instead of all the quirks to get
> the encrypted password back from pam just depend on the right
> pam.d/common-password. Pipe the unencrypted password to passwd and
> let pam do his job.

This will require the same quirks.

Pam is just simply not ready to receive the password at any time. The
password might just be dropped from stdin before it even tries to read it.

A conversation function is needed to communicate with PAM.

Best Regards,
-- 
Nekral





More information about the Pkg-shadow-devel mailing list