Im not sure what password you want to change. Most ISPs do not give out
shell accounts and thus never change system passwords. So if it is system
passwords your talking about my first advice is don't do this. It will only end
in tears.
If you are talking about a password in something like a radius data base or
for a .htaccess file for apache or other application. Then ayou need to know the
form of encryption they support and use the appropriate encryption command in
the CGI. There is no one answer for all cases because there are many encryption
schemes used. For example Mod_Auth_MySQL module for Apache can have MySQL
scrambled passwords ( created with the password() function in mysql ) or standard
DES password encryption using the crypt function in languages like C.
Fortunately there is a command line utility provided with Apache for handling
.htaccess user files( htpasswd ).
So it is really all a matter of what you are trying to set a password for.
John wrote:
> I was wondering if anyone could help me with this..... Many ISPs have a
> web-based form that allows users to change their own password. I'm trying
> to implement this on a small server I have set up, and I was curious about
> the best way to do this.... I've seen so far three different ways to do
> it. What is the "standard" way of doing this?
>
> John
>
> --
> To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.
--
Strider Centaur
http://www.Scifi-Fantay.com
" It is my observation that unless you really understand the issues, you are
hardly in a position to criticize. Nearly all Linux users have used Windows,
but very few Windows users have used Linux. " -- Me
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.