milis/bin/sifre_degistir

8 lines
124 B
Text
Raw Normal View History

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