Re: c code to change current user password using PAM API
- From: ritz <khadgaray gmail com>
- To: ashish yadav <ashishyadav78 gmail com>
- Cc: gnome-list gnome org
- Subject: Re: c code to change current user password using PAM API
- Date: Thu, 10 Jul 2008 16:14:29 +0530
On Thu, 2008-07-10 at 00:58 -0400, ashish yadav wrote:
> 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 pipes
> Ashish Yadav
> gnome-list mailing list
> gnome-list gnome org
Desktop LinuX N Stuff, RHCE
Software Maintenance Engineer, Pune, Red Hat
ॐ मणि पद्मे हूँ
Eat Right, Exercise, Die Anyway.
] [Thread Prev