Im trying to write a shell script to help me setup my accounts quicker, however am running into a small snag. Im using /scripts/wwwacct to create the accounts but i can get it to set certain features as unlimited.
my string looks something like this.
/scripts/wwwacct $domain $user $pass 80000 x n y n unlimited 0 0 unlimited 0 512000 y
Unfortunately though when i check the stats in WHM it seems that it just set them all as 0.
Now I know i can incorporate into my script to just change my /var/cpanel/users/usersname files but i was trying to save myself from doing that.
I also noticed that with the command for wwwacct there is no way to specifiy add on domains?



LinkBack URL
About LinkBacks
Reply With Quote




