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.

/scripts documentation

Discussion in 'General Discussion' started by iso99, Jul 21, 2012.

  1. iso99

    iso99 Well-Known Member

    Joined:
    Jan 5, 2011
    Messages:
    89
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Hi,

    I can't find any documentation on the files on the /script folder. Can anyone kindly give me a link to the proper documentation for this?

    Thank you :)
     
  2. JayFromEpic

    JayFromEpic Well-Known Member

    Joined:
    Apr 2, 2011
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Scottsdale, AZ
    cPanel Access Level:
    Root Administrator
    I am not sure on the actually documentation, but here is some:

    /usr/local/cpanel/scripts/fixvaliases -> this modifies permissions and ownership on /etc/valiases files

    /usr/local/cpanel/scripts/chownpublichtmls -> this chowns /home/username/public_html folders to the right permissions

    /usr/local/cpanel/scripts/eximup --> updates exim

    /usr/local/cpanel/scripts/buildnsdconf -> rebuilds /etc/named.conf file


    You can thank Tristen for this!
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  4. JayFromEpic

    JayFromEpic Well-Known Member

    Joined:
    Apr 2, 2011
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Scottsdale, AZ
    cPanel Access Level:
    Root Administrator
    @Infopro - Just a quick question - when a script is no longer supported, how quickly is it removed from that list?
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    If you wish, please open a ticket and ask Technical Support about that. I don't have a proper answer for you myself.

    Short of that I would think someone who does know will post back here for you. :)
     
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Overall, using /scripts aren't the method we suggest. The API is the primary means of working with cPanel and WHM on a server. If a script has capabilities within the API, the API is how we would recommend doing the task required. As such, any script could be removed, revised, deprecated or cease working for any cPanel update without notification. The /scripts aren't for user interaction but for the control panel system itself. Basically, this means you shouldn't really even be using most of them. The only exceptions I can think are those advised in our documentation for Apache rebuild, or the restart service scripts.
     
Loading...

Share This Page