Archive for the ‘Linux’ Category:
Nice Cacti Install How To
RedHat / CentOS Install and Configure Cacti Network Graphing Tool
Reset file permissions of RPM packages
A disastrous mistake anyone can make on their Linux server is to chown or chmod their entire filesystem.
You can reset the permissions of packages installed with rpm.
To reset file permissions:
To reset ownership permissions:
Security Articles
Hacking-Gurus: Network and Server Security Blog really has some useful information documented. Check out these articles.
Basic Linux Server Security
Linux Security Tools
SQL CheatSheet
SQL Injection article
This is an article I found on Twitter from Hacking-Gurus on SQL injection. Check it out.
MySQL: Secure Web Apps – SQL Injection techniques
One-Liners
Search for multiple processes in one command. Example in using multiple variables.
Lower the reserved disk space to 0%. By default Linux will reserve 5% of each file system as reserve free disk space.
Compare two files on two remote file systems. I saw this on Command-line-fu.
Frequently used Linux one-liners
I just submitted a couple of one-liners that I frequently use to Command-line-Fu.
Command-line-Fu
If you haven’t seen this site you need to check it out. Command-line-Fu is running list of submitted Linux one-liner commands. Some of these are really cool and you can of course submit your own for peer review.
Here are a couple of examples you may find.
List of commands you use most often
Linux Security Quick Reference Guide
I just found this quick reference sheet on Linux security topics from Apache and DNS security to crucial system files, tcp wrappers, and configuring syslog. This document from LinuxSecurity.com is available as a pdf download is provided below.
Linux Security Quick Reference Guide (pdf)
Excerpt: “Regularly audit your systems for any unauthorized and unnecessary use of the setuid or setgid permissions.”
Quick tip: Find all setuid and setgid programs
root# find / -type f -perm +6000 -ls
How do you linux? Contest
What do you do with Linux? is the question being asked by howdoyoulinux.com, who is having a video contest describing what you do with Linux. We all the great things you can do with Linux from a hardware firewall/router to a home theatre system. $2,000 and other prizes will go to the winners.
More Tech Notes
I just created linux.empulsegroup.com to place my Voodoo pad notes. I touch on the various Linux topics that I see on a day to day basis. This includes Apache, MySQL, mail services, and my notes to study for the RHCE exam which I recently received.
