Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Clayton Burton <burton@s9000.furman.edu>
Subject: Re: Change password on OSF1
Date: 1997/09/18	[thread overview]
Message-ID: <34213CA5.62AFA591@s9000.furman.edu> (raw)
In-Reply-To: 34105dd4.0@amhnt2.amherst.edu


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






  reply	other threads:[~1997-09-18  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-05  4:00 Change password on OSF1 Andreas Knabe
1997-09-05  4:00 ` Paul D. Chapin
1997-09-18  4:00   ` Clayton Burton [this message]
1997-09-10  4:00 ` Graham Jones
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox