websoft9/apps/roles/bt/files/en-username.exp
2022-11-08 08:53:18 +08:00

13 lines
186 B
Plaintext

#!/usr/bin/expect -f
#username must > 5 characters
set timeout 30
spawn /usr/bin/bt
expect "command number"
send "6\r"
expect "new username"
send "administrator\r"
interact
expect eof