Re: CHANGE PASSWORD
Posted in 1998
In article <6qt5ms$8vu$1@news.xmission.com>, insight@shabakah.com () wrote: > > Hi, > > I need to change the UNIX password from my client codes, is there a way > to > do that using SPL??? I'm using PowerBuilder on Win 95 clients, Informix > 5.x > on AIX 3.2.5 server. > > In AIX UNIX, passwd command is an interactive command, I tried to put > in a > script but it didnt work, any hints????? > > My script looks like the following: > passwd username << EOF > > user_password > > new_password > > new_password_confirmation > > EOF > ------- You can get the source code for passwd from various sites, but if you are using NIS/shadow files etc you'll need to tweak it. You also might like to post this to comp.sys.aix ?? Paul Watson # I don't suffer from WF Software Ltd. # stress, I'm just Tel. (+44) 1436 674729 # a carrier Fax. (+44) 1436 678693 #