发布时间:2014-06-05 23:10:22
#!/bin/bashif [ $# -lt 1 ]then echo "Usage : `basename $0` 10.35.46.89" exit 1fiHOST=$1UNAME=AdministratorPASSWD=PASSSW00RDEXECCMD1='create /map1/accounts1 username=bestwiz password=linux_ccna name=bestwiz group=admin,config,oemhp_vm,oemhp_rc,oemhp_power'expect -c "s.........【阅读全文】