0

I want to kuu to an account which requires a password, but I want to do this inside a shell script. How can I provide the password from the shell script?

  • 4
    What is kuu? A command-line tool? This post and the SO version are the second and third results on Google; the first makes it sound like a varient of su – Michael Mrozek Apr 4 '11 at 15:08
4

You can use the expect tool.

1

You could use sudo instead of kuu, that way you would not need to store password in clear text…

  • It'd be awesome if you could explain how this might be accomplished with sudo. – mattdm May 10 '12 at 11:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy