Subject: Re: changing user's password through web interface
From: Jamie Hushower (hushower@alaska-geeks.com)
Date: Wed Dec 31 2003 - 07:31:50 AKST
If your users have ssh or if you can rig a CGI script from the Web 
server, the following may work: Edit the /etc/passwd file on the mail 
server so that the users have a shell of /usr/bin/passwd (this assumes 
that users do not need regular shell access). When a user or script logs 
on via ssh or locally the only interaction allowed is to change a 
password.  ssh and the limited shell logon are terminated once the 
password is changed without further input from the user/script.
-Jamie
Scott Johnson wrote:
> I have two boxes.... one being my web server the other being my mail 
> server.  I'm looking for a program/script to install on my web server 
> (Apache) that would allow a user to change their password stored on the 
> mail server.  Users are set up under regular user accounts on the mail 
> server.  Right now, I am doing this via Webmin - the user connects to 
> the Webmin server on the mail box, logs in, and changes their password. 
>   I would prefer it if the user could just change it through a web page 
> on the web server, however I don't know how to set it up so the mail 
> server would accept a connection from the web server and then change 
> authentication tokens.  Can anyone think of a different way of doing 
> this other than Webmin?  Is they way I have it now probably the 
> easiest?
> 
> Thanks.
> 
> Scott
> 
> ---------
> To unsubscribe, send email to <aklug-request@aklug.org>
> with 'unsubscribe' in the message body.
> 
> 
> 
-- Jamie Hushower Computer Consultant Rent-A-Geek 223-9136 --------- To unsubscribe, send email to <aklug-request@aklug.org> with 'unsubscribe' in the message body.
This archive was generated by hypermail 2a23 : Wed Dec 31 2003 - 07:29:10 AKST