First of all thanks to all who answered my question regarding
automating the passwd command.
Among those who answered, everyone seemed to agree that I need to do
this with an "expect" script.
In the process of finding and downloading "expect" I ran across some
perl modules that may do the
same thing. Anyways thanks for the responses and Im going to give them
both a try.
On Mon, 24 Jan 2000, Chad Graham wrote:
> Hello Everyone,
> I would like to be able to pass an argument to the passwd command
> via a script, on a Solaris 2.7 machine. I have tried using
> "passwd < somefile" and "passwd < $somevar" with no luck. Any
> suggestions would be greatly appreciated.
> Thanks in advance,
> Chad Graham
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:02 CDT