Re: c code to change current user password using PAM API
- From: Biswajeet Dash symbian com
- To: "ashish yadav" <ashishyadav78 gmail com>
- Cc: gnome-list gnome org, gnome-list-bounces gnome org
- Subject: Re: c code to change current user password using PAM API
- Date: Thu, 10 Jul 2008 10:45:22 +0530
Hi Ashish,
Yes you can definitely achieve this
using the pAM APIS.
You can use pam_start() and pam_authenticate()
for instance.
Please refer to this link. Let me know
if this is of any help.
http://developers.sun.com/solaris/articles/user_auth_solaris2.html#Example_PAM_App
Regards
Biswajeet Dash|
Symbian Software India Private Limited |
biswajeet dash symbian com
"ashish yadav"
<ashishyadav78 gmail com>
Sent by: gnome-list-bounces gnome org
07/10/2008 10:28 AM
|
To
| gnome-list gnome org
|
cc
|
|
Subject
| c code to change current user password
using PAM API |
|
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.
Thanks.
Ashish Yadav
_______________________________________________
gnome-list mailing list
gnome-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-list
**********************************************************************
Symbian Software Ltd is a company registered in England and Wales with registered number 4190020 and registered office at 2-6 Boundary Row, Southwark, London, SE1 8HP, UK. This message is intended only for use by the named addressee and may contain privileged and/or confidential information. If you are not the named addressee you should not disseminate, copy or take any action in reliance on it. If you have received this message in error please notify postmaster symbian com and delete the message and any attachments accompanying it immediately. Neither Symbian nor any of its Affiliates accepts liability for any corruption, interception, amendment, tampering or viruses occurring to this message in transit or for any message sent by its employees which is not in compliance with Symbian corporate policy.
**********************************************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]