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.

View list of demo accounts

Discussion in 'General Discussion' started by alpinist, May 14, 2016.

  1. alpinist

    alpinist Registered

    Joined:
    Jun 9, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    Does anyone know how to view a list of cPanel accounts that are in demo mode?

    Thank you
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,447
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    What do you see here?

    WHM »Account Functions »Manage Demo Mode
     
  3. alpinist

    alpinist Registered

    Joined:
    Jun 9, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I see a list of all of the accounts on the server. There is no indication which of them are in demo mode. The only way from that interface to make a determination is to click on each account, one by one, and select modify. With hundreds of accounts on a server that gets tedious.

    It would seem to be an obvious attribute to list under WHM »Account Information »List Accounts.

    Is there any way to view a list of all of the accounts with those in demo mode so marked?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    You can use the following command to see a list of accounts with demo mode enabled:

    Code:
    grep DEMO=1 /var/cpanel/users/*
    There's no comparable option in Web Host Manager, so feel free to open a feature request for that functionality via:

    Submit A Feature Request

    Thank you.
     
Loading...

Share This Page