Script to create multiple accounts
Posted by adminAug 18
Script to create multiple accounts for cpanel
#! /bin/bash
#make a file (test1) which contains domain names, username and password.
#then run the script:
for i in `cat 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
26 comments
You must be logged in to post a comment.