jamesavery22
10-13-2004, 04:33 PM
I have to write a password reset utility. The ID and Password will be used by another program and my program will have to be called on a montly basis to change the password.
The ID and Password are stored in a text file. I might have to decrypt and encrypt the file or string, that hasn't been decided yet.
So my prog has to read the ID and password from the text file, log into a given Sybase server, change the password, then write the new PW to the text file.
But should this be done in C? Cant a script just do it?
Regardless is there some Unix lib that facilitates connecting to Sybase? Namely for the purpose of changing an accounts PW?
The ID and Password are stored in a text file. I might have to decrypt and encrypt the file or string, that hasn't been decided yet.
So my prog has to read the ID and password from the text file, log into a given Sybase server, change the password, then write the new PW to the text file.
But should this be done in C? Cant a script just do it?
Regardless is there some Unix lib that facilitates connecting to Sybase? Namely for the purpose of changing an accounts PW?