c code to change current user password using PAM API

ashish yadav ashishyadav78 at gmail.com
Thu Jul 10 13:27:49 CEST 2008


Hi,
 I want to write c code to change current user password.
The code first check for current password & then set new password.
The code must use PAM API just like passwd utility.
Also code must work without user intervention ie only by argument current
password & new password are given.
So, can any one know that already this work is done  or  i can use  passwd
utility in my c code using system command.
Also may be user may not root which is using this application.

Thanks.
Ashish Yadav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20080710/f76b9ac5/attachment.html>


More information about the Xfce mailing list