Re: setting a random password with PAM API
--Sig_/HB4lThJw/5aeGT45UWqpVZP
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
On Wed, 05 Jan 2011 11:45:08 +0100
Dag-Erling Sm=C3=B8rgrav <des@des.no> wrote:
> "Christopher J. Ruwe" <cjr@cruwe.de> writes:
> > I am trying to implement the feature to set a random password like
> > in BSD "pw usermod -W" in the Solaris passwd. Regrettably, I have
> > not found or perhaps not understood the PAM API documentation on
> > how to _inject a given string_ into the change-auth-token function
> > pam_chauthtok(...), which always jumps in an interactive pw-changing
> > loop.
>=20
> There is no reliable way to do that. You don't even know that there
> is such a thing as a password.
>=20
> DES
Thank you very much for your answer, although I suspected so, I still
hoped for another content.=20
Kind regards,
--=20
Christopher J. Ruwe
TZ GMT + 1
--Sig_/HB4lThJw/5aeGT45UWqpVZP
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)
iQIcBAEBAgAGBQJNJLmpAAoJEJTIKW/o3iwUa78QANTh+//rPoJAwl+WUKntZqgC
/CsDsM++NjR0N0Ww1XRJX6x4Tub9ku9D0ZfAOW7ogqqpicYm7CStky6O34hsyRGm
ERf93lsodN+/71/QNCZB5nsqxrTxEMlSArfoSap3IQhODFNmju4qvHCMfNFecjPl
A2p+okDvpbvucQ7ymD0VuoYStXAFVpS/ozkZfxD3dJe4AKEnjc8htXFMnwtK6jMh
ZZUiKcNGZhAp7RnUO9uvuYBLciAzAXEJTIe/+fEARScuPDZFxC92qxuMvTZ9YErH
uIxY4FMRF0e3BTDFzte8NGgDEJWKvDCJ1jkDJ+scfGJo+kZZLSln/VCBX9CLFUqk
txak5lMW18U2H0MCdG7q1oLkPTReFv/gvdBqEDgQkMFLtDTZtkPqqKnTcNB0tFWf
J0TegWvEO+V3rVln+Uw2yTiSfKCtuy/kM2Y2qtM1K8ndW3chh6SpBw5oQvDAs+hd
F8p4HkPpNTMFHoNtviBO8PF5El6/Dj6iCPtV4j2CzsDasFr8YfNNEq609deCV0VK
fdj0CrsJrCR92Vsk1WPGzBL+MCXBBanJgEysAmPTlS9pSkeHGte9KwrRc0PTn4MX
G33kgI7OgWa5N6oxB9IWcwof+MqIxo4eToehQ7kNXwwlUKA9meA8dl/6s0Id97wj
aIxknmBh+dng2MpgBPJ2
=L5R9
-----END PGP SIGNATURE-----
--Sig_/HB4lThJw/5aeGT45UWqpVZP--
討論串 (同標題文章)
完整討論串 (本文為第 3 之 3 篇):