Create en-username.exp

This commit is contained in:
qiaofeng1227 2022-11-08 08:53:18 +08:00 committed by GitHub
parent e0c8e99a5d
commit 9a7eabfb86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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