[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Change password from shellscript

On Mon, Dec 15, 2003 at 08:04:48PM +0100, Peter wrote:
> I want to make a shellscript with the ability to change a
> userspassword. I can't get it to work properly because when i say
> passwd user i will have to enter the password is there a way or a
> switch todo this in a style like passwd user password

Yeah, take a look at "autopasswd" in the examples provided by the expect

"Contrary to popular belief, penguins are not the salvation of modern
technology.  Neither do they throw parties for the urban proletariat."

Reply to: