milis/bin/sifre_degistir

8 lines
124 B
Plaintext
Raw Normal View History

2016-10-10 22:07:51 +02:00
#!/usr/bin/expect
2016-10-11 21:37:36 +02:00
spawn passwd mahk
2016-10-10 22:07:51 +02:00
expect "password:"
2016-10-11 21:37:36 +02:00
send "mahk1\r"
2016-10-10 22:07:51 +02:00
expect "Retype new password:"
2016-10-11 21:37:36 +02:00
send "mahk1\r"
2016-10-10 22:07:51 +02:00
interact