Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!unmvax!uokmax!munnari.oz.au!brolga!bunyip.cc.uq.oz.au!cheops!logier From: logier@cheops.UUCP (Rob Logie) Newsgroups: comp.unix.admin Subject: Changing passwords in Scripts Keywords: Passowrds Message-ID: <39@cheops.UUCP> Date: 19 Feb 91 06:12:02 GMT Lines: 20 RE: Changing passwords from within a shell/c program I live in a country where "crypt" is not avaliable (To my knowedge) and the problem I have is how do you change a users password from a shell script, where typically the new password (and possiblly the old Password) would be passed as parameters to the script. The normal password program does not seem to be usable as it expects keyboard response. I require this facility so that I can co-ordinate passwords over multiple hosts on our network for users and also to co-ordinate passwords with Lan-Manager servers. Thanks in advance Rob Logie EMAIL: logier@cheops.qld.tne.oz.au