websoft9/apps/roles/bt/files/zh-username.exp
2022-11-08 08:54:20 +08:00

13 lines
211 B
Plaintext

#!/usr/bin/expect -f
#username must > 5 characters
set timeout 30
spawn /usr/bin/bt
expect "请输入命令编号"
send "6\r"
expect "请输入新的面板用户名"
send "administrator\r"
interact
expect eof