One Line linux Commands:---- To find a list of all Open Ports $ netstat -tulpn Linux Disk Utilization Command $ vmstat -D Which Shell are you in? $ ps -p $$ Number of http connections from an IP $ netstat...
RKHunter Cronjob
RKHunter Cronjob Ans> To set the cron job to receive the daily scan report pico /etc/cron.daily/rkhunter.sh Add the following line in above file #!/bin/bash (/usr/local/bin/rkhunter -c --cronjob 2>&1 | mail -s "Daily Rkhunter Scan Report" supp0rt24x7@gmail.com) chmod +x /etc/cron.daily/rkhunter.sh Thanks
Change SSH port to some higher port?
Change SSH port to some higher port? Ans> pico -w /etc/ssh/sshd_config Find the line '#Port 22' and uncomment it and change it to look like 'Port '. for example we changes the port no22 to port no 322 Port 322...
Install BFD on the server
Q>Here is a guide to install BFD on the server with APF preconfigured : Ans>Login to your server through SSH as root user. Step 1: Preparing for Installation --------------------------------------------- cd /usr/local/src wget http://www.rfxnetworks.com/downloads/bfd-current.tar.gz tar -xvzf bfd-current.tar.gz cd bfd-0.7 --------------------------------------------- Step...