milis/bin/sifre_degistir
2016-10-10 23:07:51 +03:00

7 lines
116 B
Text
Executable file

#!/usr/bin/expect
spawn passwd $1
expect "password:"
send "$2\r"
expect "Retype new password:"
send "$2\r"
interact