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