我想具体说明以下几点:
域名-用户名
如有任何建议,将不胜感激。
这是我的剧本:
!/bin/bash
创建一个包含域名、用户名和密码的文件(/root/test1 1)。
for i in cat /root/test1 do domain=echo $i | cut -f1 -d: un=echo $i | cut -f2 -d: pw=echo $i | cut -f3 -d: /scripts/wwwacct $domain $un $pw 0 done发布于 2016-07-22 12:53:10
尝试在脚本中使用以下命令。
/scripts/wwwacct domain.com newuser password 0 x3 n n n 0 0 0 0 0 0
The above creates a new account with the domain called domain.com
It sets their username to new user
It sets their pasword to password
Quota is unlimited
Theme is x3
Dedicated IP is not assigned
CGI is turned off
FrontPage is turned off
Maxftp is unlimted
The number of databases is unlimited
The number of email accounts they can create is unlimited
The amount of mailing lists is unlimited
The number of subdomains is unlimited
Bandwidth is unlimited.https://stackoverflow.com/questions/38479156
复制相似问题