• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 178
  • Last Modified:

Changing a password from a pc client

I have developed a client/server program for a customer that uses their Unix username/password to login.  However, they now want to force their users to change their password every 30 days. Does anyone know how to do this from a PC client (Win 95/NT)? The only way I know is using a telnet session but the users will not be allowed to use telnet.
0
moynock62
Asked:
moynock62
1 Solution
 
moynock62Author Commented:
Edited text of question
0
 
dotandCommented:
I don't think you are right. Many commercial applications for E-mail allow the users to change their password for them. Even if ti requires a telnet session it's nothing the user should be aware of.

tgake a look at E-mail clients like Calypso, Eudora, etc. that know when your password expires and prompt you for a new one.
If they use an in-built telent client than so can you.
Another option is to make some of the server code aid you by running is suid mode as root. In this case the client and server will work together to cahnge the password. This allows even better security as you can encrypt the whole communicstion.
Another possibility is to have the client and server implement some sort of password fiel that is copied over /etc/passwd once in a while (like every hour or so).

HTH,
Dotan

0
 
elfieCommented:
How do you check that to fill in a passwd? does your applic detect this?

If your applic is intelligent enough to detect this (ie captures the output of the unix box), you cab ask in a seperate window the password. If then get a responce that the password is expired, just ask for a new passwd in another popup box.

This way you don't need telnet, ...

0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now