i figured a better way to do it.. ill just have to run a cron that check
a flat file thats encrypted.
<-----CoreComm-Internet-Services--http://core.com/----->
(Jon Marshall CoreComm Services Chicago)
([EMAIL PROTECTED] Systems Engineer II)
([EMAIL PROTECTED] Network Operations)
<-----Enthalpy.org------------http://enthalpy.org/----->
([EMAIL PROTECTED] The World of Nothing)
<------------------------------------------------------>
On Sat, 3 Feb 2001 [EMAIL PROTECTED] wrote:
> enthalpy wrote:
> >
> > anyone have example code of a change password script in php?
> >
> > <-----CoreComm-Internet-Services--http://core.com/----->
> > (Jon Marshall CoreComm Services Chicago)
> > ([EMAIL PROTECTED] Systems Engineer II)
> > ([EMAIL PROTECTED] Network Operations)
> > <-----Enthalpy.org------------http://enthalpy.org/----->
> > ([EMAIL PROTECTED] The World of Nothing)
> > <------------------------------------------------------>
> >
> > --
> this is for freebsd - use at your own risk -
> best used as a php shell script run by root
>
>
> $newpassword = "veryinsecure";
> $fp = popen("/usr/sbin/pw usermod -n username -h passwd", "w");
>
> fputs($fp, "$newpassword");
> pclose($fp)
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]