Re: UNIX Password change from Windows.
Posted in 1996
I have but I must first get approval from management to publish it. I just previewed this NEWERA code today!!!! Since developed for gov usage I'll need to get there okay prior to releasing. Not only that but it also supports Informix role (creation for user and the role itself). I do know that he is using the stored procedure method to invoke the UNIX commands from C programs. ------------------------------------------------------------------------- Cheryl Kendricks Internet:cherylk@prod1.jcdc.doleta.gov OR kendric@gwysmtp.jcdc.doleta.gov DTSI, Inc. Voice: 1-800-598-5008 Database Administrator - DOL Job Corps San Marcos, Texas ------------------------------------------------------------------------ On Wed, 8 May 1996, san wrote: } In article <00001a16+000027fa@msn.com>, tgauch@msn.com says... } > } >Greetings, } > } >Since Informix for UNIX utilizes the UNIX password verificiation as } >user id authentication, we are having difficulty providing an } >interface to Windows only (i.e., non-UNIX) Informix users to change } >their own "Database" passwords. } > } >We want to avoid presenting a terminal session (i.e., just to run the } >"passwd" command). } > } >Questions: } > } >1. Does anyone have an idea for a New Era or Visual Basic interface } >to UNIX passwd? } >2. Any alternatives? } >3. Is there any UNIX API to the "passwd" function? -- I suppose I } >could just write directly to the "passwd / shadow" file (as suid } >root), but what is the "crypt" key?!!? } > } >Thanks for your consideration. } > } >...Terry } >tgauch@aol.com } } We can execute stored procedure with "SYSTEM" command } which will implicit or explicit run "passwd" command } } I seem that "crypt" key is first two symbol crypted password } }