Articles

Closing open nameservers There should be a named.conf here. Make a backup of it, and the idea is to add some lines looking... Disable Telnet pico -w /etc/xinetd.d/telnet Note: (change disable = no to yes) Save and Exit /etc/init.d/xinetd... Disabling Direct Root Login (SSH) Disabling Direct Root Login (SSH) If you're using cPanel make sure you add your anotheruser... Enable PHP Safe Mode To enable PHP Safe Mode you need to edit youir php.ini file. and enable it. probably the... How can I see a list of who has logged in to the server? Use the last command.Example: last -30 will displaly the last 30 people. How to use GREP GREP   The name, "grep", derives from the command used to perform a similar operation,... Mask Apache Server & Services Version Numbers "Masked response to server ident quries" Changes all your apache php etc version #'s to just... Mod Security Think of mod_security as an intrusion detection and prevention engine for web applications.... Mount /tmp as NOEXEC If you are renting a server then chances are everything is lumped in / and a small amount... PHP Safety Without SAFEMode This goes in your php.ini files: disable_functions =... Root Login Notification - Edit the .bash_profile in the users directory ( in this case /root) commands: su - cd (just cd,... Rootkit Hunter download: # wget http://downloads.rootkit.nl/rkhunter-.tar.gz Note: It doesn't matter where you... SSH Keys for cPanel using Putty 1. Download PuTTY and PuTTYgen First you will need to download PuTTY and PuTTYgen. You can... SSH Security pico -w /etc/ssh/sshd_config Find the line '#Port 22' and uncomment it and change it to look... Secure temporary directories Secure temporary directories How-To: Secure your temp directories Every system needs temporary... What is a quick way to see all users with the UID of 0 on the shell? Execute the following: grep :0 /etc/passwd What ports should be open if I'm running my cPanel server behind a firewall? Ports that must be open to run cPanel behind a firewall: 20 -- ftp tcp inbound/outbound 21 --... When setting up a dns trust relationship, I get errors about possible security threat and stuff about ssh/known_hosts ? Most likely the master server has changed it's ssl info. easiest way to remedy this is: cd...
« Back