{"id":3072,"date":"2014-09-23T14:59:39","date_gmt":"2014-09-23T14:59:39","guid":{"rendered":"http:\/\/www.deuzebranaweb.com.br\/?p=3072"},"modified":"2014-09-23T14:59:39","modified_gmt":"2014-09-23T14:59:39","slug":"cpanel-scripts","status":"publish","type":"post","link":"https:\/\/blog.deuzebranaweb.com.br\/index.php\/2014\/09\/23\/cpanel-scripts\/","title":{"rendered":"cPanel Scripts"},"content":{"rendered":"<p>cPanel Scripts<br \/>\ncPanel and WHM has a large number of predefined scripts available in the \/scripts folder. The available scripts are as follows:<\/p>\n<p>\/scripts\/adddns \u2014 Add a Dns Entry<br \/>\n\/scripts\/addfpmail \u2014 Install Frontpage Mail Exts<br \/>\n\/scripts\/addservlets \u2014 Add JavaServlets to an account (JSP plugin required)<br \/>\n\/scripts\/adduser \u2014 Add a User<br \/>\n\/scripts\/admin \u2014 Run WHM Lite<br \/>\n\/scripts\/apachelimits \u2014 Add Rlimits (CPU and MEM limits) to apache.<br \/>\n\/scripts\/autorepair \u2014 For repairing spam database, horde patch etc.<br \/>\n\/scripts\/cpbackup \u2014 Backing up accounts<br \/>\n\/scripts\/courierup \u2014 Reinstall courier<br \/>\n\/scripts\/dnstransfer \u2014 Resync with a master DNS Server<br \/>\n\/scripts\/editquota \u2014 Edit A User\u2019s Quota<br \/>\n\/scripts\/eximup \u2014 Reinstall exim<br \/>\n\/scripts\/finddev \u2014 Search For Trojans in \/dev<br \/>\n\/scripts\/findtrojans \u2014 Locate Trojan Horses<br \/>\n\/scripts\/findtrojans &gt; \/var\/log\/trojans<br \/>\n\/scripts\/fixtrojans \/var\/log\/trojans<br \/>\n\/scripts\/fixcartwithsuexec \u2014 Make Interchange work with suexec<br \/>\n\/scripts\/fixquotas \u2014 Fix account\u2019s quota<br \/>\n\/scripts\/fixhome \u2014 Fix Permissions on accounts<br \/>\n\/scripts\/fixinterchange \u2014 Fix Most Problems with Interchange<br \/>\n\/scripts\/fixndc \u2014 To try and fix domain controller<br \/>\n\/scripts\/fixtrojans \u2014 Run on a trojans horse file created by findtrojans to remove them<br \/>\n\/scripts\/fixwebalizer \u2014 Run this if a user\u2019s stats stop working<br \/>\n\/scripts\/fixvaliases \u2014 Fix a broken valias file<br \/>\nscripts\/fullhordereset \u2014 Reset the horde database<br \/>\n\/scripts\/generate_maildirsize\u2013 Fix mailbox size<br \/>\n\/scripts\/hdparamify \u2014 Turn on DMA and 32bit IDE hard drive access (once per boot)<br \/>\n\/scripts\/initquotas \u2014 Re-scan quotas. Usually fixes Disk space display problems<br \/>\n\/scripts\/initsuexec \u2014 Turn on SUEXEC (probably a bad idea)<br \/>\n\/scripts\/installzendopt \u2014 Fetch + Install Zend Optimizer<br \/>\n\/scripts\/ipusage \u2014 Display IP usage Report<br \/>\n\/scripts\/killacct \u2014 Terminate an Account<br \/>\n\/scripts\/killbadrpms \u2014 Delete \\\u201dSecurity Problem Infested RPMS\\\u201d<br \/>\n\/scripts\/killdns domainname.com<br \/>\n\/scripts\/mailperm \u2014 Fix Various Mail Permission Problems<br \/>\n\/scripts\/mailtroubleshoot \u2014 Attempt to Troubleshoot a Mail Problem<br \/>\n\/scripts\/makecpphp \u2014 Compile cpanel php<br \/>\n\/scripts\/mysqlpasswd \u2014 Change a Mysql Password<br \/>\n\/scripts\/mysqlup \u2014 Reinstall mysql<br \/>\n\/scripts\/newftpuser \u2014 Create a new ftp user<br \/>\n\/scripts\/quicksecure \u2014 Kill Potential Security Problem Services<br \/>\n\/scripts\/perlinstaller \u2014 Install a perl module<br \/>\n\/scripts\/pkgacct \u2014 To take backup of an account<br \/>\n\/scripts\/rebuildippool \u2014 Rebuild Ip Address Pool<br \/>\n\/scripts\/reinstallmailman \u2014 Reinstall MailMan<br \/>\n\/scripts\/realperlinstaller \u2014 Install a perl module<br \/>\n\/scripts\/remdefssl \u2014 Delete Nasty SSL entry in apache default httpd.conf<br \/>\n\/scripts\/restartsrv \u2014 Restart a Service (valid services: httpd,proftpd,exim,sshd,cppop,bind,mysql)<br \/>\n\/scripts\/restorepkg \u2014 Restore an account<br \/>\n\/scripts\/rpmup \u2014 Syncup Security Updates from RedHat\/Mandrake<br \/>\n\/scripts\/runweblogs \u2014 Force an awstats update.<br \/>\n\/scripts\/runlogsnow \u2014 Force a webalizer\/analog update.<br \/>\n\/scripts\/secureit \u2014 Remove non-important suid binaries<br \/>\n\/scripts\/setupfp4 \u2014 Install Frontpage 4+ on an account.<br \/>\n\/scripts\/setupfp5 \u2014 Install Frontpage 5+ on an account.<br \/>\n\/scripts\/simpleps \u2014 Return a Simple process list. Useful for finding where cgi scripts are running from.<br \/>\n\/scripts\/suspendacct \u2014 Suspend an account<br \/>\n\/scripts\/sysup \u2014 Syncup Cpanel RPM Updates<br \/>\n\/scripts\/ulimitnamed \u2014 RH 6 only. Install a version of bind to handle many many zones.<br \/>\n\/scripts\/unblockip \u2014 Unblock an IP<br \/>\n\/scripts\/unsuspendacct \u2014 UnSuspend an account<br \/>\n\/scripts\/upcp \u2014 Update Cpanel<br \/>\n\/scripts\/updatenow \u2014 Update \/scripts<br \/>\n\/scripts\/updateuserdomains \u2014 Update \/etc\/userdomains file<br \/>\n\/scripts\/wwwacct \u2014 Create a New Account<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>http:\/\/linuxmagix.blogspot.com.br\/2013\/07\/cpanel-scripts.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>cPanel Scripts cPanel and WHM has a large number of predefined scripts available in the \/scripts folder. The available scripts are as follows: \/scripts\/adddns \u2014 Add a Dns Entry \/scripts\/addfpmail \u2014 Install Frontpage Mail Exts \/scripts\/addservlets \u2014 Add JavaServlets to an account (JSP plugin required)&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_angie_page":false,"page_builder":"","footnotes":""},"categories":[19],"tags":[],"class_list":["post-3072","post","type-post","status-publish","format-standard","hentry","category-whmcapenel"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.deuzebranaweb.com.br\/index.php\/wp-json\/wp\/v2\/posts\/3072","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.deuzebranaweb.com.br\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.deuzebranaweb.com.br\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.deuzebranaweb.com.br\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.deuzebranaweb.com.br\/index.php\/wp-json\/wp\/v2\/comments?post=3072"}],"version-history":[{"count":0,"href":"https:\/\/blog.deuzebranaweb.com.br\/index.php\/wp-json\/wp\/v2\/posts\/3072\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.deuzebranaweb.com.br\/index.php\/wp-json\/wp\/v2\/media?parent=3072"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.deuzebranaweb.com.br\/index.php\/wp-json\/wp\/v2\/categories?post=3072"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.deuzebranaweb.com.br\/index.php\/wp-json\/wp\/v2\/tags?post=3072"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}