Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jan 2011 19:34:12 +0100
From:      "Christopher J. Ruwe" <cjr@cruwe.de>
To:        freebsd-questions@freebsd.org
Cc:        freebsd-security@freebsd.org, des@des.no
Subject:   Re: setting a random password with PAM API
Message-ID:  <20110105193412.674f30e5@dijkstra>
In-Reply-To: <864o9nhbnv.fsf@ds4.des.no>
References:  <20101229232030.25b2bd5a@dijkstra> <864o9nhbnv.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110105193412.674f30e5>