tvcnet

Well-Known Member
PartnerNOC
Aug 15, 2003
126
6
168
San Diego
cPanel Access Level
DataCenter Provider
Hi folks.
Did some searching, but couldn't find a word about settting a default ACL List.

Each time a reseller signs up my guess is that some default settings are set for the reseller, such that I have to log in everytime to change the few settings I don't with resellers to have (change to my saved ACL list).

Is there some file or trick for setting a default ACL list somewhere such that we don't have to log in every time a new reseller account is set?

Thanks,
Jim
TVCNet.com
 

zurca

Member
Oct 30, 2004
11
0
151
I sent a support ticket to cpanel.net on october 31st about this feature and they responded the next day:

"The ACL list is a default setting for the resellers and what options they get
when a reseller is created. You should be able to create one in WHM under
account functions or the package setting."


So far I can not figure it out and find the way to make this happend.

I emailed them back requesting more especific info on how to da that, but up until now I havent received no answer yet.


Has anyone here has had this same issue, or is it just the 3 of us.

Any advice or trick will be apreciated.

Thanks
 

DrGreen

Active Member
May 5, 2004
44
0
156
"The ACL list is a default setting for the resellers and what options they get
when a reseller is created. You should be able to create one in WHM under
account functions or the package setting."

I think he means the normal package/account settings not the ACL/reseller features.

as far as i know its not possible in WHM.
 

mac1981

Registered
Oct 11, 2004
4
0
151
Apllying the ACL List while creating the account

If You are creating the account via PHP after creating the account You can use the "editressv" script as follows:
PHP:
//-------------------------------------- options from the acl page ---------------------------------
/*
Please note that Your default ACL list can differ from this one so You have to add or remove some options.

$maxspace    // amount of space for the account [resorce limit]
$maxtransfer // transfer [resource limit]
*/

$request3 = "/scripts2/editressv?resnumlimit=1&resnumlimitamt=$maxaccts&resreslimit=1&rslimit-disk=$maxspace&rsolimit-disk=1&rslimit-bw=$maxtransfer&rsolimit-bw=1&acllist=%28none%29&res=$loginname&acl-edit-pkg=1&acl-create-acct=1&acl-suspend-acct=1&acl-allow-unlimited-pkgs=1&acl-edit-account=1&acl-disallow-shell=1&acl-edit-pkg=1&acl-allow-addoncreate=1&acl-kill-acct=1&acl-upgrade-account=1&acl-create-dns=1&acl-add-pkg=1&acl-allow-parkedcreate=1&acl-kill-dns=1&acl-frontpage=1&acl-mod-subdomains=1&acl-list-accts=1&acl-news=1&acl-park-dns=1&acl-passwd=1&acl-quota=1&acl-show-bandwidth=1&acl-stats=1&acl-status=1&saveacl=&acllistsv=%28none%29&ns1=&ns2=&ns3=&ns4="; 

//-------------------------------------- over here we are applying it -------------------------------	
$result3 = whmreq($request3,$host,$user,$accesshash,$usessl);

//-------------------------------------- changing the ownership -------------------------------

$request4 = "/scripts/dochangeowner?user=$loginname&owner=$loginname"; 
$result4 = whmreq($request4,$host,"root",$accesshash,$usessl); 
print_r($result3);
print_r($result4);
Greetings
Maciej Perlinski
 
Thread starter Similar threads Forum Replies Date
J Security 1
B Security 2
P Security 3
P Security 1
D Security 1