milis/bin/sifre_degistir

8 lines
116 B
Plaintext
Raw Normal View History

2016-10-10 22:07:51 +02:00
#!/usr/bin/expect
spawn passwd $1
expect "password:"
send "$2\r"
expect "Retype new password:"
send "$2\r"
interact