I want to set a user password all in one line, not by interactive prompt. (bash shell script) passwd username | sleep 1s && echo $passwordvariable | echo $passwordvariable Something like that, but that actually works and enters the password twice. any ideas? ty