Okey... after seeing some things made by a couple of my resellers, I start to investigate some things ...
So I make some things ... :
1) Create a Reseller with 1Mbyte Space + 1Mbyte Bandwidth
Using some kind of "default" options I use for resellers....
*** A set of defaults for resellers will be VERY NICE, I hate to make all those clicks every time. Come on, this is being asked for at least a year to be done ...
Note : Options "Account Modification, Bandwidth Limiting and Quota Modification" are ON ... IP, SSH,etc are Off.
2) Create a Package "test1" .... with "unlimited" bandwidth. It dont show ANY warning, but when you edit the package it say "1" (1 Mbyte)
** It should not let you create "unlimited" but with a value if the reseller is not allowed to create unlimited things.
(I know it actually dont create it unlimited, but a warning will be very nice there)
On the other hand ... when you create the package the Shell Access shows as "No" (what is correct, as the reseller is not allowed to do it)
but when you go to EDIT packages ... the "Shell Access" instead of say "No" can be chequed ...
if you check it, it "looks" like it was changed, but when you go again to edit is not checked again ... better to just put "No" as with IP.
3) Create an account with this package.... when selecting the package, The quota shows okey (1Mb)
and the Bandwidth shows as "1".
Now the funny part ...
This reseller have 1 Mbyte of Space and 1 Mbyte of Bandwidth .... right?
I have created a 1Mb/1Mb plan, and assigned it to an account, so this reseller is out of resources ok?
now ...
the reseller goes to "quota modification" ... and set the quota to : 10 Mb ....
Damn it worked ... (we are 9 Mb over the reseller quota...)# quota testcom
Disk quotas for user testcom (uid 32006):
Filesystem blocks quota limit grace files quota limit grace
/dev/hda8 404 10240 10240 57 0 0
/dev/hda2 8 10240 10240 2 0 0
/dev/hda3 4 10240 10240 2 0 0
okey, let's play a little higher...
Now instead of "10" I put the word "unlimited" or "0" and voilá!
Too bad ....# quota testcom
Disk quotas for user testcom (uid 32006): none
let's try with bandwidth ...
then the reseller goes to "Limit Bandwidth Usage" .... and put "unlimited" or "0" again ...
voilá...testcom's bandwidth limit has been set to unlimited meg.
Bandwidth limit (0) is lower then () (all limits removed)
Enabling test.com...Done
Limit Change Complete
now going to View Bandwidth Usage ... what we have?
User Domain Megabytes Gigabytes Bandwidth Limit (Meg)
testcom test.com 0.000000 0.000000 no limit
(read... it say NO LIMIT!!!!!)
imagine you give 1 Gb and 20Gb bandwidth to someone ...
then he creates 100 accounts of 10 Mb Space + 200 Mb Bandwidth ....
goes to Quota modification and make all the accounts "unlimited"
and also goes to Bandwidth Limit and make all the accounts as "unlimited" ....
Also ... ANY account with "Account Modification (warning: this will allow circumvention of account creation limits, give shell access, dedicated ips, etc)" Enabled... could make a lot of things ....
With "Allow Creation of Packages with a Dedicated IP" OFF (not checked!!!)
It allows it !!! ... (so I Acc.Mod. is over everything ...?)
So, I always need to go to "Manage Reseller Ip Delagation" and allow them to use only it's main ip (this way, at least dont use MY ips...)
if for any case the reseller create an account with a dedicated IP that's the same as their Main Shared IP, all the FTP's will try to login to the IP based account.
*** Why put something that dont let you create a IP Based Account over your Main Shared IP ?
but Quota Modification and Bandwidth Limiting are VERY DANGEROUS ... anyone could eat all your bandwidth and go far over the limits with this.
And the "Account Modification" ... is nice, I mean ... it's nice to let you modify an account (change domain, change lang, or cpanel theme, or anything ...) but it's dangerous in some way ....
I want to let resellers modify accounts, without letting them use Dedicated IPs if they are not allowed to, etc. ... is this too hard to do?
Another good thing ... would be that resellers CANT delete it's OWN ACCOUNTS, then we can just make them own it's own accounts.
Well... any comments?
Can anyone try the same ... and confirm what I'm saying?
I'm using Build : 6.4.2-E40
Also, the default WHM theme...
What could we do ?
cPanel.net Support Ticket Number:



LinkBack URL
About LinkBacks
Reply With Quote







