Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 1998 02:24:51 +0800 (SGT)
From:      chas <panda@peace.com.my>
To:        leifn@image.dk (Leif Neland), freebsd-questions@FreeBSD.ORG
Subject:   Re: password change via the web?!
Message-ID:  <3.0.32.19980413024705.00e8ee90@peace.com.my>

next in thread | raw e-mail | index | archive | help

>Something like this script in pseudolanguage?
>
> # call script with parameters user old_password new_password
> echo $2 | su - $1
> echo $2\n$3\n$3\n|passwd $1
> exit
>
>expect should be able to do this.

indeed. passwd.cgi and passwd.html are supplied as one of the 
many examples in the Expect-5.25 package available from the ports 
collection.

chas



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?3.0.32.19980413024705.00e8ee90>