-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Perttu Laine wrote:
> Hello!
> 
> I'm looking tool for freebsd that allows user to change their password
> without access to server. If there are any? We're running mail server with
> nologin account and would like to let users change their password. From www
> would be preferred way. And possibly to change their .forward file too. So
> are there any tools for this?

        No tools are present that I know of, but using a little Perl/CGI
or PHP to execute passwd is pretty simple. Just be sure to use a series
of checks so people don't send in chars that can be interpreted for
execution or have special purpose uses by shells.

Don't suggest this solution as it is insecure, but it's an example:
<http://www.cyberciti.biz/tips/change-linux-or-unix-system-password-using-php-script.html>.
Don't remember how to change the password using command line arguments
either, but I know it can be done somehow (pw? passwd?), some way..

- -Garrett
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFkkfxEnKyINQw/HARAnHbAJ48STx6HSweC70knqKg0jTqO4sMygCgrWhJ
sumICGu1LY1AIzHtW2uZrgo=
=ios+
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to