mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 01:50:19 +08:00
Create zh-username.exp
This commit is contained in:
parent
d9d935e267
commit
ba04b289b6
12
apps/roles/bt/files/zh-username.exp
Normal file
12
apps/roles/bt/files/zh-username.exp
Normal file
@ -0,0 +1,12 @@
|
||||
#!/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
|
Loading…
Reference in New Issue
Block a user