Operating System - HP-UX
1826076 Members
2171 Online
109690 Solutions
New Discussion

Re: Web Page for changing UNIX password

 
SOLVED
Go to solution
Rainer von Bongartz
Honored Contributor

Web Page for changing UNIX password


A lot of my users need to change
their UNIX password but they dont't have (and will not have) shell access to the 11.0 box.

I'm thinking about a Web page users should use to change their UX password.(Trusted system)

Did anyone see such a solution and could point me to some infos ???


Regards
Rainer





He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
5 REPLIES 5
Armin Feller
Honored Contributor

Re: Web Page for changing UNIX password

ITeam
Super Advisor

Re: Web Page for changing UNIX password

Could you not just use the passwd -f command to force the login program to ask for a new password the next time that user does a login? You could always enable password aging as well so they routinely have to change them every now and again?
man passwd has all the details.

Enjoy!
Paul
Pepe Jimenez Muñoz
Frequent Advisor
Solution

Re: Web Page for changing UNIX password

We use "expect" to do this...

The web page is on a secure place in web server, of course.

Hope this help
ppviso
Pepe Jimenez Muñoz
Frequent Advisor

Re: Web Page for changing UNIX password

Sorry, bat I don??t now how to send two attach files in a reply.

NOTE: the scripts is for spanish users.
ppviso
Rainer von Bongartz
Honored Contributor

Re: Web Page for changing UNIX password

Thanks Pepe,

I installed expect and played around with your form and scripts
and now it works wonderfull


Regards
Rainer

He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...