teck

Well-Known Member
Aug 10, 2001
162
0
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:
 
B

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
 

Brownie

Well-Known Member
Aug 10, 2001
143
0
316
[quote:895e97712a]Its WHM run from the console in its own purty little interface

Mike [/quote:895e97712a]

kewl :D
 

The Prohacker

Member
Sep 3, 2001
9
0
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/
 

moronhead

Well-Known Member
Aug 12, 2001
706
0
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?
 

Brownie

Well-Known Member
Aug 10, 2001
143
0
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 :)
 

TRAIN YARD SOFTWARE

Well-Known Member
Dec 20, 2001
222
0
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
 

shaun

Well-Known Member
PartnerNOC
Verifed Vendor
Nov 9, 2001
702
1
318
San Clemente, Ca
cPanel Access Level
DataCenter Provider
Twitter
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.
 
B

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
 
B

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
 
Feb 7, 2002
15
0
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
 

ThunderHostingDotCom

Well-Known Member
Nov 18, 2002
449
1
168
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?
 

Website Rob

Well-Known Member
Mar 23, 2002
1,501
1
318
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?