Re: API for changing UNIX password from Windows
Posted in 1996
Ted Dancescu wrote: > > I am looking for a solution that manages password changes in Informix 7.13 > running on a SUN Solaris machine from MS Windows. > Are there any API's that allow us to do this? > There is a solution (included here) that was proposed by Jaminikant, but I > am looking for a way that does not involve C programming in Unix (never did > it before - maybe it's a good way to start !). > Any suggestions? > > On Aug 30, 1996 06:08:17 in article <Change UNIX password from Windows>, > 'jks@hclind.hclc-ggn.hcla.com (JaminiKant (JK))' wrote: > > >Hi all ! > > > >There was posting in the net few days back how to change the passwd > >of Inf5.0 user from Windows. Have not seen an answer (sorry if I have over > >looked). I propose the following way but would be glad to get a > >better solution. Here goes my sol. Basically we need to cange the > >unix passwd from Windows. If there is some Windows API for this > >then need not read the sol ! > > > >1) Write a C program which uses the UNIX logic to encrypt We had this discussion not too long ago. That is probably why no one answered the original posting. I believe most of us suggest using "Expect." You can call it from a stored procecure through "system" command. You can find everything about "Expect" through "yahoo". Chao