Link to home
Start Free TrialLog in
Avatar of denmarkw
denmarkw

asked on

Need to create win95 icon to run unix "passwd" command

We want to keep tasks simple for our users who are intimidated by unix.
We have a client/server banking application that requires Solaris,Informix and Win95.
Our users are running Win95 clients with Solstice Network Client 3.1 over NFS.
Instead of running "telnet.exe" on the Win95 client, we want to find a way to create an Icon
that users can click on and  then get the unix prompt for their new password.
Is this possible?

Also, we want to get Win95 and Solstice to inform users when their passwords will expire
as per the setting during their account creation using admintool!
Right now the users only know when Win95/Solstice reports that the login or password is
invalid.

Thanks in advance for your help!

Denmark W.
Avatar of JYoungman
JYoungman

Wasn't this answered in another forum?

Set their shell to /bin/passwd.
It then prompts them appropriately for changing their password when they telnet in.

Avatar of denmarkw

ASKER

Yes, I posted this question in several forums.  Thanks for your help.
I did find a solution. I wrote a Visual Fox Pro application to handle the Solaris password
expiration which runs telnet as requested. I also changed the user's shell to /bin/passwd,
but that had no effect. I eventually had to replace the user's .profile with a customized
script that calls the /bin/passwd etc. Why didn't changing the shell in /etc/passwd to
/bin/passwd work?
Also there is a security flaw: The user can press Ctrl+C and exit to the shell at any point
during the telnet session. How can I stop this security hole?

Thanks in advance for your help!
Adjusted points to 230
Thanks for your coments!
ASKER CERTIFIED SOLUTION
Avatar of seena
seena

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial