Re: unix passwords
Posted in 1996
Norrgren@aol.com wrote: > > hello all, > > recently there was some mail about chaning unix passwords from the front end > in informix. was there a final conclusion on how to do this best? > > our application would like to use the unix login/password for validation but > to be able to force a unix password change from the application. > > OpenLink allows you to set a parameter to use the unix login/password for > validation > but not to change the password or catch an forced change if it has expired. > > our system is HP-UX 9.04 and informix 7.1. we were thinking about either > having > a socket connection from the client or if possible use a trigger/stored > procedure > to execute a program on the server that will change the password. > > Any takers? > > regards > > Per Norrgren > AETHOS Communication Systems. Here is my own opinion on this issue. You may want to review the discussion in detail. 1. Using a stored procedure with C code. You will not be able to use stored procedures with "passwd" command. It does not work. You must write your own C code. 2. Open a telnet in the background and issue the "passwd" command. This is only a workaround. We have implemented this as a temporary solution. It works great, except when network is slow..... 3. A Remote Procedure Call (RPC) to change the password. I personnally believe this is the cleanest approach. Chao Din