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

Re: How do I programaticlly change a password...



On Tue, 16 Mar 1999, Stanislav Malyshev a.k.a Frodo wrote:

> JOO>> I have been trying to write a program that will change a users password
> 
> PAM? like in:
> extern int pam_chauthtok(pam_handle_t *pamh, const int flags);
> 
> JOO>> Could anyone point me to a man page, web site, or anything?
> 
> http://www.uk.kernel.org/pub/linux/libs/pam/
> 
> -- 
> frodo@sharat.co.il	\/  There shall be counsels taken
> Stanislav Malyshev	/\  Stronger than Morgul-spells
> phone +972-2-6245112	/\  		JRRT LotR.
> http://sharat.co.il/frodo/	whois:!SM8333
> 
> 
> 

A cheap shot way would be to use an "expect" script...

 - yba

   EE 77 7F 30 4A 64 2E C5  83 5F E7 49 A6 82 29 BA    ~. .~   TclTek Ltd.
 =}-------------------------------------------------ooO--U--Ooo-----------{=
  - benavrhm@tcltek.co.il - tel: +972.52.670.353, http://www.tcltek.co.il -