From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,bafb83d84c106f65 X-Google-Attributes: gidfee84,public From: Clayton Burton Subject: Re: Change password on OSF1 Date: 1997/09/18 Message-ID: <34213CA5.62AFA591@s9000.furman.edu>#1/1 X-Deja-AN: 274027972 References: <34100586.AD5@ville-ge.ch> <34105dd4.0@amhnt2.amherst.edu> X-Priority: 3 (Normal) Organization: Furman University Newsgroups: comp.unix.osf.osf1 I know exactly what Andreas is talking about. I've ran into problems changing users' passwords from a script. It seems that the passwd cmd refuses to take input from a pipe or from a file redirected into it. That is, I'd expect to be able to do: echo newpw\\nnewpasswd | passwd jsmith or passwd jsmith < newpasswd.txt where newpasswd.txt contians 2 copies of the new password seperated by a newline But neither of these works for me under OSF1 v3.2 Paul D. Chapin wrote: > Andreas Knabe (andreas.knabe@ville-ge.ch) wrote: > : I'm search a program for change OSF1 user password from a script ... > > It's not clear what you're looking for. Are you looking for a way to > change a password without using the "passwd" command? > > -- > > Paul Chapin > pdchapin@unix.amherst.edu > Unix Systems Manager I'm too busy to have time > Amherst College for anything important. > 413-542-2144