cPanel和WHM在/scripts資料夾中提供了大量預先定義的腳本。可用腳本如下:
-
adddns - 增加一個DNS區域。
-
addfpmail - 向所有沒有FrontPage Mail Extensions的域名增加FrontPage Mail Extensions。
-
addfpmail2 - 向所有沒有FrontPage Mail Extensions的域名增加FrontPage Mail Extensions。
-
addnetmaskips - 向所有沒有子網掩碼的IP增加子遮罩255.255.255.0。
-
addnobodygrp - 增加Nobody群並啟用Security。
-
addpop - 增加一個Pop帳號。
-
addservlets - 向帳號增加JSP支援(需要tomcat)。
-
addstatus - (內部使用從未被帳戶調用)
-
adduser - 向系統增加帳戶。
-
admin - 運行WHM Lite。
-
apachelimits - 向Apache增加rlimits。
-
bandwidth - (OLD)
-
betaexim - 安裝最新版本的exim。
-
biglogcheck - 尋找尺寸接近2GB的日誌。
-
bitstest -
-
bsdcryptoinstall - 在FreeBSD上安裝crypto。
-
bsdldconfig - 在FreeBSD配置適當的lib目錄。
-
bsdpkgpingtest - 測試下載FreeBSD packages的連接速度。
-
buildbsdexpect - 在FreeBSD上安裝expect。
-
builddomainaddr - (OLD)
-
buildeximconf - 重建exim.conf。
-
buildpostgrebsd-dev - 在FreeBSD上安裝postgresql。
-
buildpureftproot -
-
bupcp - (OLD)
-
chcpass - (內部使用)
-
checkallowoverride -
-
checkbadconf - 查看/usr/local/apache/conf/httpd.conf檢測不良帳戶。
-
checkbashshell -
-
checkbsdgroups - 檢測並修復FreeBSD上proftpd的所有權。
-
checkccompiler - 檢測以確認系統的C編輯器工作正常。
-
checkdeadperlso -
-
checkerrorlogsafe -
-
checkfpkey - 檢測FrontPage suid key。
-
checkgd - 檢測GD是否建立。
-
checkgentoousers -
-
checkhttpd -
-
checkinterchange - (內部使用)。
-
checklibssl - 檢測以確認存在適當的libssl symlinks。
-
checklink -
-
checklog - (OLD)
-
checkmakeconf -
-
checkmaxclients - 檢測Apache是否已達到允許的最多客戶端。
-
checkoldperl - 檢測您系統上的Perl版本是否已經過時。
-
checkoldrpm -
-
checkrsync - 檢測以確認rsync是最新的。
-
checksuexecpatch - 檢測是否已修補mailman的suexec。
-
checksuspendpages - 檢測掛起頁面是否正確命名。
-
checkswup - (OLD)
-
checkup2date - 確認up2date已正確設定(RedHat)
-
checkyum - 確認yum已正確設定。
-
chkpaths - 確認/usr/sbin/chown有一個連結到/bin/chown的符號連結。
-
chownpublichtmls - 修改所有帳戶網路空間的所有權,有助於轉換為suexec。不屬於任何帳戶的檔案被刪除。
-
chpass - 修改密碼。
-
ckillall - 允許您取消一道程式(使用的如killall)。
-
ckillall2 - 允許您取消一道程式。
-
cleanandmailformmaillog -
-
cleanbw - 清空老的流量日誌。
-
cleandns - (OLD)
-
cleandns8 - 清空named.conf。
-
cleangd - 清空老的GD安裝並重新安裝GD
-
cleanmd5 - 修復CPAN md5問題。
-
cleanmsglog - 清除exim's msglog。
-
cleanopenwebmail - (OLD)
-
cleanupcheck -
-
cleanupmysqlprivs - 清空不當的mySQL特權。
-
compilers - 關閉沒有特權的帳戶的編譯器功能。
-
configips - (OLD)
-
*.cgi - (內部)
-
*.c - (內部)
-
convert2maildir - 將mail從mbox轉換為maildir格式並安裝courier impap和pop(cpimap被刪除)。
-
convertemails -
-
convertemails2 - (內部)
-
convertemails5 - (內部)
-
courierup - 更新/安裝Courier
-
cpanelsync -
-
cpbackup - 運行備份。
-
cpbackup2 - (內部)
-
cptheme - (未使用)
-
dialog* - (未使用)
-
distupgrade - 將RedHat升級為最新版本(只用於測試)
-
dnscluster - 啟用DNS集群。
-
dnsqueuecron - 增加一個cron job以丟棄DNS queue。
-
dns_setup - (OLD)
-
dnstransfer - 如果伺服器有一個DNS master(與DNS master同步)。
-
doomhttpd -
-
dotbuffer - (內部)
-
downgradefp - 降級FrontPage Extensions(至5.0-0)
-
dropmysqldb - 刪除一個mySQL資料庫。
-
easyapache - 升級Apache
-
editquota - 修改帳戶的定額。
-
enablechkservdwebmail - 啟用檢測webmaild服務。
-
enablefileprotect - 保護帳戶目錄,如果檔案保護建立在apache的話。
-
ensurepkg - 安裝一個FreeBSD package。
-
ensurerpm - 安裝一個rpm。
-
ensurerpm2 - (內部)
-
exchangeacctdb - (OLD)
-
exim3 - 安裝exim 3。
-
exim4 - 安裝exim 4。
-
exim4-rh73test - 安裝exim release #260。(只針對RedHat)
-
eximcron - 為exim_tidy_db建立一個cron job。
-
eximlocalsend - 啟用/關閉exim local sending。
-
exim_tidydb - 清空exim內容日誌。
-
eximup - 安裝/更新exim。
-
eximup~ - (內部)
-
expectperlinstaller - (內部)
-
fetchfile - (內部)
-
fetchfpexec -
-
fetchgd - 包含libg.so。
-
finddev - (內部)
-
findhacks - 查找常見木馬。
-
findoddrootprocesses - 列出需要核實的root processes。
-
findphpversion - 檢測您的php版本檔案是不是最新的。
-
findtrojans - 全面搜查木馬。
-
fixadmin - (OLD)
-
fixallcartswithsuexec - 使用suexec時修復carts的許可。
-
fixallinterchangeperm - 修復所有帳戶的Interchange Shopping Carts的許可。
-
fixbinpath - 確認所有bin檔案的路徑都是正確的。
-
fixbuggynamed - 更新bind來解決任何出現bug的問題。
-
fixcartwithsuexec - (內部) - 可用來修復有著suexec的cart。
-
fixcgiwrap - (OLD)
-
fixcommonproblems - 修復最常見的問題。
-
fixetchosts - 修復/etc/hosts的問題。
-
fixeverything - 修復常見問題和定額。
-
fixfpwml - 修復frontpage的.wml錯誤。
-
fixheaders - 運行,如果編譯中的.h檔案沒有編譯錯誤。
-
fixhome - (未使用) - 取消符號連結項目。
-
fixinterchange - 重裝interchange Perl模組。
-
fixinterchangeperm - 修復帳戶interchange cart的許可。
-
fixipsnm - 與addnetmask ip相同,不過是Perl。
-
fixlibnet - 重裝Bundle::libnet(Perl)。
-
fixlocalhostwithphp - 修改/etc/hosts使其與PHP 4.2.0 + MySQL更好地工作。
-
fixmailandakopia - (未使用)
-
fixmailman - 更新並重啟mailman。
-
fixmailmanwithsuexec -
-
fixmuse - 重裝muse。
-
fixmysql - 修復mySQL的問題。
-
fixmysqlbsd - 修復FreeBSD上的mySQL問題。
-
fixnamed - 更新bind來處理多個DNS區域(超過512)。
-
fixndc - 修復redhat被破壞的named.conf on 7.2。
-
fixndc.new - (內部)
-
fixoldlistswithsuexec - 啟用suexec後在伺服器上運行以改變沒有出現500內部伺服器錯誤指示的Mailman發出的URL。
-
fixperl - 建立字符連結/usr/local/bin/perl /usr/bin/perl。
-
fixperlscript - 確認perlscript包含所有對應的模組。
-
fixpop - 修復POP帳號並清除重來密碼。
-
fixproftpdconf - 修復/usr/local/etc/proftpd.conf的問題。
-
fixproftpdconf~ - (內部)
-
fixproftpddupes - 更新proftpd。
-
fixquotas - 修復quotas。
-
fixrelayd - (OLD)
-
fixrh72ndckey - (內部)
-
fixrndc - 修復named.conf以防止rndc staus失敗。
-
fixspamassassinfailedupdate - 重新安裝失敗的spamassassin更新。
-
fixsubconf -
-
fixsubdomainlogs - 如果子域名日誌沒有在cPanel中顯示就運行。
-
fixsuexeccgiscripts - 修復suexec安裝後破壞的CGI腳本。
-
fixtrojans - (未使用)
-
fixvaliases - 修復valiases的許可。
-
fixwebalizer - 修復已經停止更新的Webalizer。
-
fixwebmail - (OLD)
-
fixwwwdir - (OLD)
-
fp3 - 更新fpexe3補丁。
-
fpanonuserpatch - 更新FrontPage extensions來包含匿名帳戶補丁。
-
fp-auth -
-
fpbtr - (OLD)
-
fpsuexec - (內部)
-
fpsuexec2 - (內部)
-
fpsuexec3 - (內部)
-
fpupgrade - (內部)
-
ftpcheck - 檢測FTPSSL。
-
ftpfetch - (內部)
-
ftpput - (內部)
-
ftpquaotacheck - 檢測所有帳戶的配額(空間佔用量)。
-
ftpsfetch - (內部)
-
ftpup - 更新您的ftp伺服器。
-
ftpupdate - (內部)
-
fullhordereset - 重設Horde並顯示目前的Horde密碼。
-
futexfix - 修復futex的問題。
-
futexstartup - 啟動futex。
-
gcc3 - 安裝gcc-3.3.3。
-
gencrt - 建立一個.crt和.csr檔案。
-
gencrt2 - (未使用)
-
gentomcatlist - (內部)
-
gentooportsup -
-
gethomedir - (內部)
-
getpasswd - (內部)
-
getremotecpmove - (內部)
-
getrpmfor -
-
grabemails - (內部)
-
grabhttp - (內部)
-
grabhttp2 - (內部)
-
grabmysqlprivs - (內部)
-
grpck - 檢測grpck是否正常工作。
-
hackcheck - (內部)
-
hdparmify - 啟用dma/irq/32bit HD access,為IDE drives提速。
-
hdparmon - 啟用hdparm。
-
HTTPreq.pm - (內部)
-
httpspamdetect -
-
icpanel - (OLD)
-
initacls - 用ACL支援裝載您的檔案系統。(確認您的kernel支援ACLs)
-
initbyteslog - (內部)
-
initfpsuexec - 啟用FrontPage suexec支援。
-
initquotas - 在新驅動上啟用空間限額支援。
-
initsslhttpd - 確認HTTP以SSL開始。
-
initsuexec - 如果suexec已安裝,啟用suexec支援。
-
installaimicq - (內部)
-
installcgipm - 安裝CGI.pm。
-
installcpbsdpkg -
-
installcpgentoopkg -
-
installdbi - 安裝Bundle::DBD::mysql。
-
installfpfreebsd - 在FreeBSD上安裝FrontPage 5 Extensions。
-
installfpgentoo - 在Gentoo上安裝FrontPage。
-
installgd - 建立GD。
-
installipc - (內部)
-
installpkg - 安裝一個FreeBSD package。
-
installpostgres - 安裝PostrgeSQL。
-
installrmmods - (OLD)
-
installrpm - 安裝rpm。
-
installrpm2 - (內部)
-
installspam - 安裝SpamAssassin。
-
installssl - 增加SSL vhost。
-
installtree -
-
installzendopt - 安裝zend optimzer。
-
installzendopt-freebsd - 在一個freebsd機器上安裝zend optimizer。
-
ipcheck - (內部)
-
ipusage - (內部)
-
isdedicatedip - 查看某IP是不是獨立IP。
-
kernelcheck - (內部)
-
killacct - 刪除一個帳號。
-
killbadrpms - 消除伺服器上不安全RPMs的安全腳本。
-
killdns - 刪除一個DNS區域。
-
killdns-dnsadmin -
-
killdrrootvhost - 刪除虛擬主機的文檔root。
-
killndbm - 刪除7.2中被破壞的NDBM_File。
-
killpvhost - 刪除proftpd.conf中的一個虛擬主機。
-
killspamkeys - 刪除一個spam key。
-
killsslvhost - 刪除虛擬主機的一個SSL登入記錄。
-
killvhost - 刪除一個vhost。
-
listcheck - 檢測mailing lists是否存在問題。
-
listproblems - 列出常見問題。
-
listsubdomains - 列出子域名。
-
mailadmin - (DEAD, OLD)
-
maildirmenu - (內部)
-
mailman212 - (內部)
-
mailperm - 修復近乎所有的mail許可問題。
-
mailscannerupdate - 更新MailScanner。
-
mailtroubleshoot - 指導mail修復。
-
makecpphp - 安裝php。
-
makesecondary - DNS傳輸的一部分。
-
manualupcp - 手動更新cPanel。
-
md5crypt - 將密碼加密為MD5。
-
mkquotas - OLD
-
mkwwwacctconf - (內部)
-
mrusersscpcmd -
-
mseclocal - 建立Mandrake's msec允許exim作為mailnull運行。
-
mysqladduserdb - 建立一個MySQL資料庫和帳戶。
-
mysqlconnectioncheck - 連接到MySQL,如果需要的話重啟SQL。
-
mysqldeluserdb - 刪除一個MySQL資料庫和帳戶。
-
mysqlinfo - (OLD)
-
mysqlpasswd - 修改MySQL密碼。
-
mysqlrpmpingtest - 檢測下載mySQL rpms的連接速度。
-
mysqlup - 更新mySQL。
-
mysqlup~ - (內部)
-
ndbmcheck - 檢測nbdm模組是否加載(在RedHat 7.2中消除)
-
netftpsslpatch - 修補FTPSSL.pm。
-
newdomains - (OLD)
-
newdomains-sendmail - (OLD)
-
newexim - 安裝最新版本的exim。
-
newftpuser - (未使用)
-
newpop - (未使用)
-
nofsck - 設定fsck始終使用-y
-
nomodattach - 從httpd.conf刪除mod_attach。
-
nomodauthmysql -從httpd.conf刪除mod_auth_mysql。
-
nomodbwprotect - 從httpd.conf刪除mod_bwportect。
-
nomodgzipconfmods - 從httpd.conf刪除mod_gzip。
-
nomodperl - 從httpd.conf刪除mod_perl。
-
oldaddoncgi2xaddon - 將老的addons更新為X addons。
-
oldaddonconverter - (內部)
-
oopcheck - (內部)
-
park - 停放一個域名。
-
patcheximconf - 修復exim.conf。
-
patchposixtypes -
-
patchtypes -
-
patchtypesizes -
-
pedquota - (內部) - editquota的一部分(用於編輯quota)。
-
perlinstaller - 安裝perl。
-
phpini - 建立一個php.ini檔案。
-
phpopenbasectl -
-
pingtest - 從cPanel mirrors檢測下載時間。
-
pkgacct - (內部)
-
pkgacct~ - (內部)
-
pkgacct2 - (內部)
-
pkgaccount-ala - 備份一個Alab*nza帳號用於傳輸。
-
pkgacct-ciXost - 備份一個ci*ost帳號用於傳輸。
-
pkgacct-dXm - 備份一個d*m帳號用於傳輸。
-
pkgacct-enXim - 備份一個en*im帳號用於傳輸。
-
pkgacct-ng -
-
pkgacctn-ng.orig -
-
pkgacct-pXa - 備份一個p*a帳號用於傳輸。
-
popftpuse - (OLD)
-
portsup - (FREEBSD BETA)
-
postsuexecinstall - (內部)
-
proftpd128 - 安裝proftpd-1.2.8。
-
pscan - (OLD)
-
ptycheck - 修復/dev/ptmx許可。
-
pwck - 核實系統授權內容的完整性。
-
quickfixmysqlbsd - (未使用)
-
quickkernel - 更新您的kernel。
-
quicksecure - 快速消除沒用的服務。
-
quotacheck - (內部)
-
rasetup - (OLD)
-
rawchpass - (內部)
-
realadduser - (內部)
-
realchpass - (內部)
-
realperlinstaller - (內部)
-
realrawchpass - (內部)
-
rebuildcpanelsslcrt - 重建cPanel SSL證書。
-
rebuildcpusers - 重建/var/cpanel/users。
-
rebuildetcpasswd - 重建/etc/passwd。
-
rebuildeximbsd - 在FreeBSD上重建exim。
-
rebuildhttpdconffromproftpd - 從proftpd.conf檔案重建httpd.conf。
-
rebuildinterchangecfg - 將帶有Interchange的域名移至伺服器後使用。
-
rebuildippool - (內部)
-
rebuildnamedconf - 從/var/named中的檔案恢復named.conf。
-
rebuildproftpd - 從httpd.conf恢復proftpd.conf。
-
reinstallmailman - 重裝mailman。
-
relocatevartousr - 硬碟空間不夠時,將/var中的檔案遷移至/usr。
-
remdefssl - 刪除預設的SSL vhost。
-
reseteximtodefaults - 重設exim的預設設定。
-
resethorde -
-
resetimappasswds - 重設所有imap密碼。
-
resetmailmanurls -
-
resetquotas - 將quotas修改為應該的數值。
-
restartsrv - 重啟一個服務。
-
restartsrv_apache - 重啟apache。
-
restartsrv_bind - 重啟bind。
-
restartsrv_clamd - 重啟clamd。
-
restartsrv_courier - 重啟courier imap。
-
restartsrv_cppop - 重啟cppop。
-
restartsrv_entropychat - 重啟entropy chat。
-
restartsrv_exim - 重啟exim。
-
restartsrv_eximstats - 重啟exim statistics。
-
restartsrv_ftpserver - 重啟您的ftp伺服器。
-
restartsrv_ftpserver~ - (內部)
-
restartsrv_httpd - 重啟httpd。
-
restartsrv_imap - 重啟impad。
-
restartsrv_inetd - 重啟inetd。
-
restartsrv_interchange - 重啟Interchange Shopping Cart。
-
restartsrv_melange - 重啟melange chat。
-
restartsrv_mysql - 重啟mysqld。
-
restartsrv_named - 重啟named。
-
restartsrv_postgres - 重啟postgresql。
-
restartsrv_postgresql - 重啟postgresql。
-
restartsrv_proftpd - 重啟proftpd。
-
restartsrv_pureftpd - 重啟pure-ftpd。
-
restartsrv_spamd - 重啟spamd。
-
restartsrv_sshd - 重啟sshd。
-
restartsrv_syslogd - 重啟syslogd。
-
restartsrv_tomcat - 重啟tomcat。
-
restartsrv_xinetd - 重啟xinetd。
-
restoremail - 恢復帳戶的mail。
-
restorepkg -
-
reswhostmgr - 重啟whostmgr。
-
rhlupdate - (OLD)
-
rpmpreinstall - (內部)
-
rpmup - 升級redhat/mandrake errata/security。
-
rpmup2 - (內部)
-
rpmup3 - (內部)
-
rrdtoolinstall - 安裝RRD Tool。
-
rscpmd -
-
runlogsnow - (OLD)
-
runstatsonce - 運行statistics(應該在crontab中使用)。
-
runweblogs - 為某帳戶運行analog/webalizer/etc.
-
ruserssscpcmd - (內部)
-
safeperlinstaller - 安全安裝perl。
-
safeup2date - 安全運行up2date。
-
safeyum - 安全運行yum。
-
scpcmd - (內部)
-
searchbadgroups -
-
searchreplace - (未使用)
-
secureit - 刪除不需要的suid binaries。
-
securemysql - 保證MySQL configuration的安全。
-
securetmp - 將securetmp添至系統startup選項。
-
selinux_custom_contexts -
-
selinuxsetup -
-
sendaim - (內部)
-
sendicq - (內部)
-
setupfp - 向一個帳號中安裝FrontPage 3。
-
setupfp4 - 向一個帳號中安裝FrontPage 4 (2000)安裝程式。
-
setupfp5 - 向一個帳號中安裝FrontPage 5 (2002)安裝程式。
-
setupfp5.nosueuxec - 在不使用suexec時向一個帳號中安裝FrontPage 5 (2002)安裝程式。
-
setupmakeconf -
-
showexelist - 顯示exe程式。
-
simpleps - 顯示程式列表。
-
simplesshcmd - (內部)
-
smartcheck - 檢測硬碟完整性。
-
smtpmailgdionly - 啟用SMTP Mail Protection。
-
snarf - (內部)
-
spamasssassin-cpanel - (未使用)
-
spamboxdisable - 關閉所有帳號的SpamAssassin's spambox delivery。
-
sscpcmd - (內部)
-
ssh2.expect - (內部)
-
sshcmd -
-
sshcontrol - (內部)
-
ssh.expect - (內部)
-
stage2fpmail - (內部)
-
supportvoidcheck -
-
suspendacct - 掛起一個帳號。
-
symlinktodir - (內部)
-
sysup - 更新cPanel RPMs。
-
telentcrt - (OLD)
-
testinf - (OLD)
-
trustme - (內部)
-
typocheck -
-
uf - (OLD)
-
unlimitnamed - 安裝最新版本的bind patched來支援伺服器上超過512的IP。
-
unblockip - 對被portsentry阻止的IP解除阻止。
-
unpkgacct - (內部)
-
unsetupfp4 - 從帳號中刪除FrontPage 4 或 5。
-
unslavenamedconf - 如果帳戶無意間將DNS master設定為本地伺服器,這將在loop後修復named.conf。
-
unsuspendacct - 解除掛起一個帳號。
-
upcp - 更新cPanel。
-
updated - 更新/scripts。
-
updatedomainips - (內部)
-
updatefrontpage - 更新FrontPage。
-
updatemysqlquota -
-
updatenow - 更新/scripts NOW。
-
updatephpconf - 更新PHP配置檔案。
-
updateuserdomains - (內部)
-
updateuserdomains2 - (內部)
-
userdirctl -
-
userps - (OLD)
-
usersscpcmd - (內部)
-
usersscpcmd1 - (內部)
-
usersshcmd - (內部)
-
verify - (OLD)
-
verifyzone - (內部)
-
whichrpm - (內部)
-
whoowns - 找出誰擁有某個域名。
-
whostmgrkey - (OLD)
-
wwwacct - 建立一個帳號。
-
wwwacct2 - (內部)
-
x* - (OLD)
-
xaddonreport - 報告目前安裝的addon腳本。
-
zoneexists - (內部)