The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Resellers with root-level access

Discussion in 'General Discussion' started by Tanure, Jul 12, 2010.

  1. Tanure

    Tanure Registered

    Joined:
    Jun 15, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hello!

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

    Or how do I check if a reseller has root-level?
     
    #1 Tanure, Jul 12, 2010
    Last edited: Jul 12, 2010
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    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 (,).
     
Loading...

Share This Page