Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Documentation for /scripts

Discussion in 'General Discussion' started by teck, Aug 13, 2001.

  1. teck

    teck Well-Known Member

    Joined:
    Aug 10, 2001
    Messages:
    164
    Likes Received:
    0
    Trophy Points:
    316
    Is it possible to create man pages or other forms of documentation for the programs listed in /scripts? I see tons of stuff there and I\'m scared to run some of them :) I don\'t even know what half of them do. Also, I see unblockip (self explanatory) but if you have an unblockip, shouldn\'t you have a blockip too? Yeah, I know it\'s not hard to type out the route command but if you are going to do something, might as well have everything done right :cool:
     
  2. bdraco

    bdraco Guest

    [quote:68640c188c]Is it possible to create man pages or other forms of documentation for the programs listed in /scripts? I see tons of stuff there and I\'m scared to run some of them :) I don\'t even know what half of them do. Also, I see unblockip (self explanatory) but if you have an unblockip, shouldn\'t you have a blockip too? Yeah, I know it\'s not hard to type out the route command but if you are going to do something, might as well have everything done right :cool: [/quote:68640c188c]


    If anybody wants to make this look nice that would be great.All scripts listed below should be safe to run. If its not listed don\'t run it

    /scripts/adddns Add a Dns Entry
    /scripts/addfpmail Install Frontpage Mail Exts
    /scripts/addservlets Add JavaServlets to an account (jsp plugin required)
    /scripts/adduser Add a User
    /scripts/admin Run WHM Lite
    /scripts/apachelimits Add Rlimits (cpu and mem limits) to apache.
    /scripts/dnstransfer Resync with a master DNS Server
    /scripts/editquota Edit A User\'s Quota
    /scripts/finddev Search For Trojans in /dev
    /scripts/findtrojans Locate Trojan Horses
    Suggest Usage
    /scripts/findtrojans > /var/log/trojans
    /scripts/fixtrojans /var/log/trojans
    /scripts/fixcartwithsuexec Make Interchange work with suexec
    /scripts/fixinterchange Fix Most Problems with Interchange
    /scripts/fixtrojans Run on a trojans horse file created by findtrojans to remove them
    /scripts/fixwebalizer Run this if a user\'s stats stop working
    /scripts/fixvaliases Fix a broken valias file
    /scripts/hdparamify Turn on DMA and 32bit IDE hard drive access (once per boot)
    /scripts/initquotas Re-scan quotas. Usually fixes Disk space display problems
    /scripts/initsuexec Turn on SUEXEC (probably a bad idea)
    /scripts/installzendopt Fetch + Install Zend Optimizer
    /scripts/ipusage Display Ipusage Report
    /scripts/killacct Terminate an Account
    /scripts/killbadrpms Delete \"Security Problem Infested RPMS\"
    /scripts/mailperm Fix Various Mail Permission Problems
    /scripts/mailtroubleshoot Attempt to Troubleshoot a Mail Problem
    /scripts/mysqlpasswd Change a Mysql Password
    /scripts/quicksecure Kill Potential Security Problem Services
    /scripts/rebuildippool Rebuild Ip Address Pool
    /scripts/remdefssl Delete Nasty SSL entry in apache default httpd.conf
    /scripts/restartsrv Restart a Service (valid services: httpd,proftpd,exim,sshd,cppop,bind,mysql)
    /scripts/rpmup Syncup Security Updates from RedHat/Mandrake
    /scripts/runlogsnow Force a webalizer/analog update.
    /scripts/secureit Remove non-important suid binaries
    /scripts/setupfp4 Install Frontpage 4+ on an account.
    /scripts/simpleps Return a Simple process list. Useful for finding where cgi scripts are running from.
    /scripts/suspendacct Suspend an account
    /scripts/sysup Syncup Cpanel RPM Updates
    /scripts/ulimitnamed RH 6 only. Install a version of bind to handle many many zones.
    /scripts/unblockip Unblock an IP
    /scripts/unsuspendacct UnSuspend an account
    /scripts/upcp Update Cpanel
    /scripts/updatenow Update /scripts
    /scripts/wwwacct Create a New Account
     
  3. tabernack

    tabernack Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    316
    Great!! Thanks Nick. Definitely useful info :)
     
  4. Brownie

    Brownie Well-Known Member

    Joined:
    Aug 10, 2001
    Messages:
    145
    Likes Received:
    0
    Trophy Points:
    316
    Whats WHM Lite? :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. MichaelShanks

    MichaelShanks Well-Known Member
    PartnerNOC

    Joined:
    Aug 20, 2001
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    316
    Its WHM run from the console in its own purty little interface

    Mike
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Brownie

    Brownie Well-Known Member

    Joined:
    Aug 10, 2001
    Messages:
    145
    Likes Received:
    0
    Trophy Points:
    316
    [quote:895e97712a]Its WHM run from the console in its own purty little interface

    Mike [/quote:895e97712a]

    kewl :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. The Prohacker

    The Prohacker Member

    Joined:
    Sep 3, 2001
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    301
    [quote:4165fea8ed]If anybody wants to make this look nice that would be great[/quote:4165fea8ed]


    I added everything, hopefully this is what you would want....

    http://www.virix.com.kg/cpnet/
     
  8. moronhead

    moronhead Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    706
    Likes Received:
    0
    Trophy Points:
    316
    [quote:1191d60b8e] /scripts/installzendopt Fetch + Install Zend Optimizer
    [/quote:1191d60b8e]Has anyone installed the zend optimizer for PHP 4.0.6? Is it safe to install it? Does it actually accelerate the code?
     
  9. The Prohacker

    The Prohacker Member

    Joined:
    Sep 3, 2001
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    301
    Zend should be compiled into PHP when it was installed, Optimizer comes along with the download...
     
  10. Brownie

    Brownie Well-Known Member

    Joined:
    Aug 10, 2001
    Messages:
    145
    Likes Received:
    0
    Trophy Points:
    316
    [quote:0b470c756e]Zend should be compiled into PHP when it was installed, Optimizer comes along with the download... [/quote:0b470c756e]

    The Zend Engine is, but the Opt. isnt. - i just used buildapache.sea on my local machine :)D) and it doesnt install zend opt.

    I used that install script to install it on ours because Im lazy - so you now know t works :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. eva2000-george

    Joined:
    Feb 7, 2002
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    301
    anyone with an up to date list of /scripts/* files and their functions ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. TRAIN YARD SOFTWARE

    TRAIN YARD SOFTWARE Well-Known Member

    Joined:
    Dec 20, 2001
    Messages:
    224
    Likes Received:
    0
    Trophy Points:
    316
    JSP

    /scripts/addservlets Add JavaServlets to an account (jsp plugin required)


    thats great in WHM

    How do I remove it from a site?


    Ed
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. shaun

    shaun Well-Known Member

    Joined:
    Nov 9, 2001
    Messages:
    698
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    San Clemente, Ca
    Nick,

    Maybe a re-organization of the /scripts directory would help out.

    Like have /scripts/fixs &- all fix-it scripts
    /scripts/whm &- all scripts that WHM calls
    /scripts/install &- scripts used for installing extra's
    /scripts/init &- init scripts
    etc.

    Also this WHM lite everybody's talking about. Is this in devel or somthing? I was actually thinking about trying to write my own console WHM that would work with cpanel so that i didnt have to log in to WHM via the web browser all the time.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. bdraco

    bdraco Guest

    [quote:470532791b][i:470532791b]Originally posted by shaun[/i:470532791b]

    Nick,

    Maybe a re-organization of the /scripts directory would help out.

    Like have /scripts/fixs &- all fix-it scripts
    /scripts/whm &- all scripts that WHM calls
    /scripts/install &- scripts used for installing extra's
    /scripts/init &- init scripts
    etc.

    Also this WHM lite everybody's talking about. Is this in devel or somthing? I was actually thinking about trying to write my own console WHM that would work with cpanel so that i didnt have to log in to WHM via the web browser all the time.[/quote:470532791b]

    /scripts/admin
     
  15. bdraco

    bdraco Guest

    [quote:aea13220b6][i:aea13220b6]Originally posted by bdraco[/i:aea13220b6]

    [quote:aea13220b6][i:aea13220b6]Originally posted by shaun[/i:aea13220b6]

    Nick,

    Maybe a re-organization of the /scripts directory would help out.

    Like have /scripts/fixs &- all fix-it scripts
    /scripts/whm &- all scripts that WHM calls
    /scripts/install &- scripts used for installing extra's
    /scripts/init &- init scripts
    etc.

    Also this WHM lite everybody's talking about. Is this in devel or somthing? I was actually thinking about trying to write my own console WHM that would work with cpanel so that i didnt have to log in to WHM via the web browser all the time.[/quote:aea13220b6]

    /scripts/admin[/quote:aea13220b6]

    Note: you have to hit space and then enter to select something
     
  16. eva2000-george

    Joined:
    Feb 7, 2002
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    301
    [quote:db4bcf9dcd][i:db4bcf9dcd]Originally posted by bdraco[/i:db4bcf9dcd]

    [quote:db4bcf9dcd]Is it possible to create man pages or other forms of documentation for the programs listed in /scripts? I see tons of stuff there and I'm scared to run some of them :) I don't even know what half of them do. Also, I see unblockip (self explanatory) but if you have an unblockip, shouldn't you have a blockip too? Yeah, I know it's not hard to type out the route command but if you are going to do something, might as well have everything done right :cool: [/quote:db4bcf9dcd]


    If anybody wants to make this look nice that would be great.All scripts listed below should be safe to run. If its not listed don't run it

    [/quote:db4bcf9dcd] thanks i've placed the whole lot on my article site http://i4net.tv/marticle/get.php?action=getarticle&articleid=29
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. silvernetuk

    silvernetuk Well-Known Member

    Joined:
    Sep 2, 2002
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    United Kingdom
    Does installzendopt work with php 4.2.3 as I would like to install Zend Optimizer ?

    Regards,
    Garry
     
  18. FWC

    FWC Well-Known Member

    Joined:
    May 13, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Ontario, Canada
    installzendopt-php421 appears to work with PHP 4.2.3.
     
  19. ThunderHostingDotCom

    ThunderHostingDotCom Well-Known Member

    Joined:
    Nov 18, 2002
    Messages:
    449
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    All over!
    [quote:96bab5f9c6][i:96bab5f9c6]Originally posted by FWC[/i:96bab5f9c6]

    installzendopt-php421 appears to work with PHP 4.2.3.[/quote:96bab5f9c6]


    What does Zend Optimizer do? Obviously it has to do with PHP and optimizing it but how does it make PHP better?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. Website Rob

    Website Rob Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    1,504
    Likes Received:
    1
    Trophy Points:
    318
    Location:
    Alberta, Canada
    cPanel Access Level:
    Root Administrator
    Here's an interesting one.

    In WHM one can click on &Manage Assigned Nameserver Ips& which has a URL of: https://IP_address:2087/scripts2/listassignednsips

    Now I've done a &locate& and a detailed &find& but I cannot get any results for &/scripts2/listassignednsips&. Pray tell, just exactly where this dir/file is located?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice