Tag Archives: security

Stopping DOS Attacks with Mod_Evasive
avatar

DOS attacks are becoming very common these days.  There are many different levels of DOS attack and monitoring your system and trying to prevent them all can be a full-time job.  However for the causal user you can easily add some basic … Continue reading

Posted in Apache, CentOS, Fedora, Guides | Tagged , | Leave a comment

Unlock An Account
avatar

To unlock a user in Linux is quite easy you just need to run the following command: passwd -u <account> This will unlock the account which has expired, but if you have turned on the advanced PAM Account Auditing you will also need … Continue reading

Posted in Arch, CentOS, Fedora, Linux | Tagged , | Leave a comment

Linux File Permissions
avatar

When you are first starting out using Linux, file permissions while being an easy concept to understand seem like they are very hard to setup.  Most of the time you will see a three digit number which “magically” will determine what the permissions are … Continue reading

Posted in Linux | Tagged , | Leave a comment

Mounting folders through SSH
avatar

One of the first rules of security is to not have any ports open which you do not need to have open.  That is also pretty common sense.  One problem you run into though is you still need to access … Continue reading

Posted in Arch, CentOS, Fedora, Guides, Linux | Tagged , , , , | Leave a comment

Setting a Lock-out Policy
avatar

Setting a lock out policy in CentOS or Fedora is very easy. edit /etc/pam.d/system-auth auth required pam_tally.so onerr=fail no_magic_root account required pam_tally.so deny=3 unlock_time=3600 no_magic_root reset onerr=fail if there is a problem opening the file for some reason fail login no_magic_root … Continue reading

Posted in CentOS, Fedora, Linux | Tagged , | Leave a comment