Script to create multiple accounts

ARUN Post in SCRIPTS
0

vi /root/accts.txt

while read file ; do domain=`echo $file | awk ‘{print $1}’` ; user=`echo $file | awk ‘{print $3}’` ; password=`echo $file | awk ‘{print $4}’` ; /scripts/createacct $domain $user $password ; done < /root/accts.txt


« Prev: :Next »

Leave a Reply

You must be logged in to post a comment.