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