find / -perm 0777 -type d >> opendirs.txt
Creates a list of all "world-writable" folders on the server, meaning that anyone can edit or add to the contents of this folder. Permissions on folders that are public-facing (e.g. public_html/ and any of its subdirectories) should never be set to 777 if at all avoidable, as this creates numerous security risks. Once this is complete, you may view the opendirs.txt file that this script creates to determine where you may need to modify permissions to 0775 or lower.
netstat -anp
Shows a list of all running programs and the ports they are using
/scripts/
*up
— Updates a service. We currently provide the following update scripts for the services noted:
- bandminup — Bandmin application.
- courierup — Courier mail server.
- cpaddonsup — cPanel’s addon scripts.
- dovecotup — Dovecot mail server.
- eximup — Exim mail exchanger.
- ftpup — FTP servers (ProFTP and Pure-FTP).
- imapup — IMAP mail server.
- mysqlup —MySQL service.
- nsdup — BIND nameserver.
- phpup — Current version of PHP.
- suphpup — SuPHP tool for handling PHP requests.
restartsrv_*
— Restarts a service. We currently provide restart scripts for the following; simply replace the asterisk (*)in restartsrv_* with the term in bold:
- apache — Apache web server.
- bind — BIND nameserver software.
- chkservd — cPanel’s AllDocumentation/AutomationIntegration.TailWatch log processing service.
- clamd — ClamAV anti-virus software.
- courier — Courier mail server.
- cpdavd — cPanel’s WebDAV server.
- cppop — cPanel’s POP server.
- dovecot — Dovecot mail server.
- entropychat — Entropy chat client.
- exim — Exim mail exchanger.
- eximstats — Exim mail statistics tracker.
- ftpserver — FTP server.
- httpd — Apache web server.
- imap — IMAP server.
- inetd — Super-server daemon for managing Internet services.
- interchange — Interchange e-commerce software.
n- ipaliases — IP aliasing software.
- melange — Melange chat client.
- mysql — MySQL database server.
- named — BIND nameserver software.
- nsd — Open-source NSD nameserver daemon.
- postgres — PostgresSQL database service.
- postgresql — PostgreSQL database service.
- proftpd — ProFTP server daemon.
- pureftpd — Pure-FTP server daemon.
- rsyslogd — Open-source log forwarder daemon.
- spamd — Spam-deferral daemon.
- sshd — Secure shell daemon.
- syslogd — Log forwarder daemon.
- tailwatchd — cPanel’s AllDocumentation/AutomationIntegration.TailWatch log processing service.
- tomcat — Apache Tomcat service.
- xinetd — Open-source super-server daemon.