Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Aug 2002 21:59:06 -0400
From:      Miroslav Pendev <miro@cybershade.us>
To:        fred@timogen.com
Cc:        questions@freebsd.org
Subject:   Re: Write script to let the user change their password
Message-ID:  <20020807015906.GA34841@cybershade.us>
In-Reply-To: <20020806213436.J86473-100000@earl-grey.cloud9.net>
References:  <02bd01c23da9$e2f96e00$7d05a8c0@fred> <20020806213436.J86473-100000@earl-grey.cloud9.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 06, 2002 at 09:37:16PM -0400, Peter Leftwich wrote:
> On Tue, 6 Aug 2002 fred@timogen.com wrote:
> > Hi Greg, Sorry, I can't  speak clearly my question. The real problem I encounter is I want to write a script by php or pearl to do the system call "password" to change the password for a user.
> > The script can be run buy web server, then the system administration can easy management the system account.
> >     Thanks.
> > Regards,
> > Fred Zhang

Hi Fred,

Take a look at /usr/ports/mail/poppassd - works OK, but do not forget
to block TCP port 106 with your Firewall ;-)

There is a Horde module [sork] that works with poppassd - passwd!
But, you need Horde (www.horde.org) on order to use it - which is not 
too bad - Horde - Imp - Turba is the best Web-Mail solution - I think!

If you do not need the whole Horde - take a look at the PHP code of passwd, 
you may extract what you need for the communication with poppassd.

Otherwise, Horde works perfect!

Hope that helps!

--Miro

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020807015906.GA34841>