Operating System - HP-UX
1834288 Members
2312 Online
110066 Solutions
New Discussion

WEB base "passwd username" command concept

 
Cem Tugrul
Esteemed Contributor

WEB base "passwd username" command concept

Hello,
i have a UX server and 500 users.The clients
use this server BaaN erp which is intalled
client GUI on their PC.Every user have a login
name that i have created on my UNIX srv(of course) and i have given a password.
The pwds have no aging i mean when i created
an account and gave pwd then they all use it
because they do not use telnet to change
pwds.Now i want to organize for my users
to change their pwd via using a WEB browser.
For ex;let's say my UX srv ip 10.x.y.z
then from the their PCs using IE or Netscape
just writing the ip address like
http://ip_ad_of_my srv/
so they can change their own pwd via WEB...
For this purpose to realise what do i need?
or How can i do it?

Greetings,
Our greatest duty in this life is to help others. And please, if you can't
9 REPLIES 9
SHAJITH_2
Occasional Contributor

Re: WEB base "passwd username" command concept

Hi

You can Install webmin ( webbased admin tool) to do this.


Regards,

Shajith
Rainer von Bongartz
Honored Contributor

Re: WEB base "passwd username" command concept

1) Create an html form for your users to enter account, old and new password

2) from the POST action of this form call a cgi script which is using the 'expect' software to check password syntax etc and perform the password change


expect is downloadable from:

http://hpux.cs.utah.edu/hppd/hpux/Tcl/expect-5.42/

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Cem Tugrul
Esteemed Contributor

Re: WEB base "passwd username" command concept

Hi,

i have downloaded expect and installed onto my srv.
Now ,next???
Could you try to give a brief detail?
Grts,
Our greatest duty in this life is to help others. And please, if you can't
Alex Lavrov.
Honored Contributor

Re: WEB base "passwd username" command concept

Now I guess you must learn to use expect:
http://aspn.activestate.com/ASPN/docs/Tcl_Dev_Kit/3.1/expect/expect.1.html

I also suggest you to install SSL and use secure connection, because now you have passwords going over the network plain text ...
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Cem Tugrul
Esteemed Contributor

Re: WEB base "passwd username" command concept

Hi,
i have installed it onto my test_srv...
so Could you please help me to setup it
step by step?????

Points are still waiting :-)
Our greatest duty in this life is to help others. And please, if you can't
Rainer von Bongartz
Honored Contributor

Re: WEB base "passwd username" command concept

Take a look at the expect home page:

http://expect.nist.gov/

You'll find very good examples of using expect.


Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Emil Velez
Honored Contributor

Re: WEB base "passwd username" command concept

Have you considered LDAP UX.. With LDAP your users can have the same userid and password whether they use PCs, HPUX logins or Web Pages (most web servers can use LDAP for page and application passwords.

The HPUX system will still need a limited number of local userids and passwords but this may allow the users to change their passwords at the windows level and the passwords are changed everywhere.

Cem Tugrul
Esteemed Contributor

Re: WEB base "passwd username" command concept

To Emil,
i have not considered LDAP...
Just want my users to change their pwd
as using IE or Netscape when the pwd changing
time comes.That's all i want!
Our greatest duty in this life is to help others. And please, if you can't
Cem Tugrul
Esteemed Contributor

Re: WEB base "passwd username" command concept

found a different solution...
Our greatest duty in this life is to help others. And please, if you can't