Searching for something? Scroll down to find your keywords in RED....
This is a list of the scripts that cPanel puts in the /scripts directory.
These may help you in some way. I posted this list here so that search could find it easily. I always forget that these scripts are there and use search on ev1 all the time.
WARNING: These scripts may not be "safe", they are mostly in perl so you can view them and check if they are going to do what you want. You may find more info on them at this forum or at cPanel.com
List as of 10-14-2005, the updated list is at (or see the docs):
http://www.cpanel.net/docs/whm/Scripts.htm
adddns - Adds a DNS zone.
addfpmail - Add frontpage mail extensions to all domains without them.
addfpmail2 -Add frontpage mail extensions to all domains without them.
addnetmaskips - Add the netmask 255.255.255.0 to all IPs that have no netmask.
addnobodygrp - Adds the gorup nobody and activates security.
addpop - Add a Pop Account.
addservlets - Add JSP support to an account (requires tomcat).
addstatus - (Internal use never called by user).
adduser - Add a user to the system.
admin - Run WHM Lite.
apachelimits - Add rlimits to Apache.
bandwidth - (OLD)
betaexim - Installs the latest version of exim.
biglogcheck - looks for logs nearing 2 gigabytes in size
bitstest -
bsdcryptoinstall - Installs crypto on FreeBSD.
bsdldconfig - Configures the proper lib directories in FreeBSD.
bsdpkgpingtest - Tests the connection speed for downloading FreeBSD packages.
buildbsdexpect - Install expect on FreeBSD.
builddomainaddr - (OLD)
buildeximconf - Rebuilds exim.conf.
buildpostgrebsd-dev - Installs postgresql on FreeBSD.
buildpureftproot -
bupcp - (OLD)
chcpass - (Internal use)
checkallowoverride -
checkbadconf - Checks /usr/local/apache/conf/httpd.conf for bad users.
checkbashshell -
checkbsdgroups - Checks and repairs proftpd ownership on FreeBSD.
checkccompiler - Checks to make sure the C compiler works on your system.
checkdeadperlso -
checkerrorlogsafe -
checkfpkey - Checks for the FrontPage suid key
checkgd - Checks to see if GD is built.
checkgentoousers -
checkhttpd -
checkinterchange - (Internal use).
checklibssl - Checks to make sure the proper libssl symlinks exist.
checklink -
checklog - (OLD)
checkmakeconf -
checkmaxclients - Checks to see if apache has reached the maximum clients allowed.
checkoldperl - Checks to see if the version of Perl on your system is old.
checkoldrpm -
checkrsync - Checks to make sure rsync is up to date.
checksuexecpatch - Checks to see if mailman has been patched for suexec.
checksuspendpages - Checks to see if suspend pages are properly named.
checkswup - (OLD)
checkup2date - Makes sure up2date is set up properly (RedHat)
checkyum - Makes sure yum is set up properly.
chkpaths - Makes sure /usr/sbin/chown has a symlink to /bin/chown
chownpublichtmls - Change ownership of all users web space to them, which is useful for converting to suexec. Files owned by nobody are deleted.
chpass - Change password.
ckillall - Allows you to kill a process (used like killall).
ckillall2 - Allows you to kill a process.
cleanandmailformmaillog -
cleanbw - Cleans up old bandwidth logs.
cleandns - (OLD)
cleandns8 - Clean up named.conf.
cleangd - Cleans up old GD installs and reinstalls GD
cleanmd5 - Fix CPAN md5 problems.
cleanmsglog - cleans exim's msglog
cleanopenwebmail - (OLD)
cleanupcheck -
cleanupmysqlprivs - Cleans up improper mySQL privileges.
compilers - Disables the usage of compilers for unprivileged users.
configips - (OLD)
*.cgi - (INTERNAL)
*.c - (INTERNAL)
convert2maildir - Converts mail from mbox to maildir format and installs courier impap and pop (cpimap is removed).
convertemails -
convertemails2 - (INTERNAL)
convertemails5 - (INTERNAL)
courierup - Updates/Installs Courier
cpanelsync -
cpbackup - Runs backups.
cpbackup2 - (INTERNAL)
cptheme - (NOT USED)
dialog* - (NOT USED)
distupgrade - Upgrades RedHat to the newest version (for testing only)
dnscluster - Enables DNS clustering.
dnsqueuecron - Adds a cron job to dump the DNS queue.
dns_setup - (OLD)
dnstransfer - Only if the server has a DNS master (sync with DNS
master).
doomhttpd -
dotbuffer - (INTERNAL)
downgradefp - Downgrades FrontPage Extensions (to 5.0-0)
dropmysqldb - Drops a mySQL database.
easyapache - Upgrade Apache
editquota - Change a users quota.
enablechkservdwebmail - Enable service checking of webmaild.
enablefileprotect - Protects home directories if file protection is built in apache.
ensurepkg - Installs a FreeBSD package.
ensurerpm - Installs a rpm.
ensurerpm2 - (INTERNAL)
exchangeacctdb - (OLD)
exim3 - Installs exim 3.
exim4 - Installs exim 4.
exim4-rh73test - Installs exim release #260. (RedHat only)
eximcron - Creates a cron job for exim_tidy_db.
eximlocalsend - Enables/Disables exim local sending.
exim_tidydb - Cleans the exim message log.
eximup - Installs/Updates exim.
eximup~ - (INTERNAL)
expectperlinstaller - (INTERNAL)
fetchfile - (INTERNAL)
fetchfpexec -
fetchgd - Includes libg.so.
finddev - (INTERNAL)
findhacks - Search for common Trojan Horses.
findoddrootprocesses - Lists root processes that may need to be checked out.
findphpversion - Check to see if your php version file is up to date.
findtrojans - Exhaustive Trojan Horse search.
fixadmin - (OLD)
fixallcartswithsuexec - Fixes permissions on carts when using suexec.
fixallinterchangeperm - Fixes permissions on all users'
Interchange Shopping Carts.
fixbinpath - Makes sure all bin file paths are correct.
fixbuggynamed - Updates bind to solve any problems with bugs.
fixcartwithsuexec - (INTERNAL) - Can be used to fix a cart with suexec.
fixcgiwrap - (OLD)
fixcommonproblems - Attempt to fix the most common problems.
fixetchosts - Fixes problems with /etc/hosts
fixeverything - Fix common problems and quotas.
fixfpwml - Fix for .wml errors with frontpage.
fixheaders - Run if nothing compiles errors with .h files on compile.
fixhome - (NOT USED) - Unsymlink items.
fixinterchange - Reinstall interchange Perl modules.
fixinterchangeperm - fix permissions on a user's interchange cart.
fixipsnm - Same as addnetmask ips, but Perl though.
fixlibnet - Reinstall Bundle::libnet (Perl).
fixlocalhostwithphp - Change /etc/hosts to work better with PHP 4.2.0 + MySQL.
fixmailandakopia - (NOT USED)
fixmailman - Updates and restarts mailman.
fixmailmanwithsuexec -
fixmuse - Reinstalls muse.
fixmysql - Fixes problems with mySQL.
fixmysqlbsd - Fixes problesm with mySQL on FreeBSD.
fixnamed - Updates bind to handle many DNS zones (more than 512).
fixndc - Repair redhat's broken named.conf on 7.2.
fixndc.new - (INTERNAL)
fixoldlistswithsuexec - Run after enabling suexec on the server to change the URLs that Mailman gives out to ones that don't give a 500 internal server error.
fixperl - Symlink /usr/local/bin/perl /usr/bin/perl.
fixperlscript - Makes sure a perlscript includes all corresponding modules.
fixpop - Fix a POP account and reset password.
fixproftpdconf - Fixes problems with /usr/local/etc/proftpd.conf
fixproftpdconf~ - (INTERNAL)
fixproftpddupes - Updates proftpd.
fixquotas - Fix quotas.
fixrelayd - (OLD)
fixrh72ndckey - (INTERNAL)
fixrndc - Fixes named.conf to prevent rndc staus failed.
fixspamassassinfailedupdate - Reinstalls a failed spamassassin update.
fixsubconf -
fixsubdomainlogs - Run if subdomain logs don't show up in cPanel.
fixsuexeccgiscripts - Fix CGI scripts that are broken after suexec
installed.
fixtrojans - (NOT USED)
fixvaliases - Fix permisions on valiases.
fixwebalizer - Repair a Webalizer that has stopped updating.
fixwebmail - (OLD)
fixwwwdir - (OLD)
fp3 - Updates the fpexe3 patch.
fpanonuserpatch - Updates FrontPage extensions to include the anonymous user patch.
fp-auth -
fpbtr - (OLD)
fpsuexec - (INTERNAL)
fpsuexec2 - (INTERNAL)
fpsuexec3 - (INTERNAL)
fpupgrade - (INTERNAL)
ftpcheck - Checks for FTPSSL.
ftpfetch - (INTERNAL)
ftpput - (INTERNAL)
ftpquaotacheck - Runs quota checking for all ftp users.
ftpsfetch - (INTERNAL)
ftpup - Updates your ftp server.
ftpupdate - (INTERNAL)
fullhordereset - Resets Horde and displays the current Horde password.
futexfix - Fixes problesm with futex.
futexstartup - Starts futex.
gcc3 - Installs gcc-3.3.3
gencrt - Generate a .crt and .csr file.
gencrt2 - (NOT USED)
gentomcatlist - (INTERNAL)
gentooportsup -
gethomedir - (INTERNAL)
getpasswd - (INTERNAL)
getremotecpmove - (INTERNAL)
getrpmfor -
grabemails - (INTERNAL)
grabhttp - (INTERNAL)
grabhttp2 - (INTERNAL)
grabmysqlprivs - (INTERNAL)
grpck - Checks to see if grpck is working properly.
hackcheck - (INTERNAL)
hdparmify - Enable dma/irq/32bit HD access, which speeds up IDE drives.
hdparmon - Turns on hdparm.
HTTPreq.pm - (INTERNAL)
httpspamdetect -
icpanel - (OLD)
initacls - Mounts your file systems with ACL support (make sure your kernel supports ACLs)
initbyteslog - (INTERNAL)
initfpsuexec - Enable FrontPage suexec support.
initquotas - Turn on quota support on new drives.
initsslhttpd - Make sure HTTP starts with SSL.
initsuexec - Turn on suexec support if suexec is installed.
installaimicq - (INTERNAL)
installcgipm - Installs CGI.pm
installcpbsdpkg -
installcpgentoopkg -
installdbi - Install Bundle::DBD::mysql.
installfpfreebsd - Installs FrontPage 5 Extensions on FreeBSD.
installfpgentoo - Installs FrontPage on Gentoo.