Re: setting a random password with PAM API

看板FB_security作者時間15年前 (2011/01/05 19:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
"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. There is no reliable way to do that. You don't even know that there is such a thing as a password. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no _______________________________________________ freebsd-security@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
文章代碼(AID): #1D94zlUe (FB_security)
文章代碼(AID): #1D94zlUe (FB_security)