|
Usage of Each cpanel scripts |
|
|
|
|
Written by Administrator
|
|
Saturday, 05 September 2009 17:55 |
|
There are no translations available.
cPanel and WHM has a large number of predefined scripts available in the /scripts folder. The available scripts are as follows:
- 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 group 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
- buildbsdexpect - Install expect on FreeBSD.
- builddomainaddr - (OLD)
- buildeximconf - Rebuilds exim.conf.
- buildpostgrebsd-dev - Installs postgresql on FreeBSD.
- buildpureftproot -
- checkallowoverride -
- checkbadconf - Checks /usr/local/apache/conf/httpd.conf for bad users
- checkbashshell -
- ceckbsdgroups - Checks and repairs proftpd ownership on FreeBSD.
- checkccompiler - Checks to make sure the C compiler works on your system.
- 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.
- 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.
- 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.
- cleandns8 - Clean up named.conf.
- cleangd - Cleans up old GD installs and reinstalls GD
- cleanmd5 - Fix CPAN md5 problems.
- cleanmsglog - cleans exim's msglog
- cleanupmysqlprivs - Cleans up improper mySQL privileges.
- compilers - Disables the usage of compilers for unprivileged users.
- .cgi - (INTERNAL)
- convert2maildir - Converts mail from mbox to maildir format and installs courier impap and pop (cpimap is removed).
- cpbackup - Runs backups.
- distupgrade - Upgrades RedHat to the newest version (for testing only)
- dnscluster - Enables DNS clustering.
- dnsqueuecron - Adds a cron job to dump the DNS queue.
- dnstransfer - Only if the server has a DNS master (sync with DNS master).
- 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.
- 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.
- 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.
- fixallcartswithsuexec - Fixes permissions on carts when using suexec. fixbinpath - Makes sure all bin file paths are correct
- fixbuggynamed - Updates bind to solve any problems with bugs.
- 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.
- 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.
|