Re: c code to change current user password using PAM API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello
On Thu, 2008-07-10 at 00:58 -0400, ashish yadav wrote:> 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.
using passwd with pipeshttp://svn.gnome.org/viewvc/gnome-control-center/trunk/capplets/about-me/gnome-about-me-password.c?view=markup

> > Thanks.> Ashish Yadav  >   > _______________________________________________> gnome-list mailing list> gnome-list@xxxxxxxxx> http://mail.gnome.org/mailman/listinfo/gnome-list-- Ritesh KhadgarayPh: +919970164885Desktop LinuX N Stuff, RHCESoftware Maintenance Engineer, Pune, Red Hatॐ मणि पद्मे हूँEat Right, Exercise, Die Anyway.

_______________________________________________gnome-list mailing listgnome-list@xxxxxxxxxxxxx://mail.gnome.org/mailman/listinfo/gnome-list

[Index of Archives]     [Fedora Desktop]     [Trinity Users]     [KDE]     [Gimp]     [Yosemite News]

  Powered by Linux