passwd cmd

2007-12-25 9:15:00

    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.

Chad Graham

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




Comments

Got something to say?

You must be logged in to post a comment.