Resellers with root-level access

Tanure

Registered
Jun 15, 2010
3
0
51
Hello!

What command I use to list all ressellers with root-level?

Or how do I check if a reseller has root-level?
 
Last edited:

JaredR.

Well-Known Member
Feb 25, 2010
1,834
25
143
Houston, TX
cPanel Access Level
Root Administrator
Check the reseller privileges

A reseller would only have root-level access if, in Main >> Resellers >> Reseller Center >> Edit reseller privileges & nameservers, the option "All Features (warning: total and complete access)" is checked. This is under the heading "Root."

From the shell, you can see which, if any, resellers have this option enabled by using grep to search for ",all" in /var/cpanel/resellers. An example is the following:

Code:
# grep ",all" /var/cpanel/resellers
example1:passwd,disallow-shell,viewglobalpackages,all
Each reseller has a single line in /var/cpanel/resellers, starting with the name of the reseller account. In my example, "example1" is the name of the reseller account, and the privileges enabled are listed on the same line, separated by commas (,).