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.

using command line instead of gui

Discussion in 'General Discussion' started by raavinizer, Oct 3, 2006.

  1. raavinizer

    raavinizer Registered

    Joined:
    Oct 3, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hey there,

    Not sure if this is possible but I was wondering if you could execute stuff like creating new email accounts or subdomains via the command line without using the gui. Basically I would like to be able to programatically add and remove both subdomains and email addresses. There are a few php based scripts around that can create these but they seem to simulate using the gui (opening the gui and reading the output etc.). i've used one before but my host is on cpanel xp evolution so I don't think they would work.

    I'm coming from a user on a shared host's point of view so I have limited access.

    Cheers,

    Jason ;)
     
  2. Manuel_accu

    Manuel_accu Well-Known Member

    Joined:
    Jun 19, 2005
    Messages:
    191
    Likes Received:
    0
    Trophy Points:
    16
    I think cpanel default scripts will be useful for that. you could find all script at /scripts folder.

    Please note that cpanel is also using command at last in its program or script but it provides you easy interface - GUI too, but most of the administrators are using command line and cpanel scripts to manage server.

    try to search in this forum you might find some more interesting information about this.

    Thanks,
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Without root access you won't be able to run the scripts in /scripts, so you're restricted to using the UI.
     
Loading...

Share This Page