inside the mind of a linux admin

Basic Security Auditing

/var/cpanel/accounting check /tmp for nobody check /etc/passwd /var/log/secure rkhunter # find / -perm +4000 > ~/suids      # searches for all suid files and outputs to ~/suids file Share on FacebookTweet

Read More

How to resize /tmp/tmpDSK to 1Gb

Sizes does matter! # umount -l /tmp # dd if=/dev/zero of=/usr/tmpDSK bs=1024 count=1024000 # mkfs.ext3 /usr/tmpDSK # mount -o loop,rw,noexec,nosuid /usr/tmpDSK /tmp Share on FacebookTweet

Read More

Troubleshooting: cPanel internal PHP

Symptom: Internal cPanel/WHM pages are returning blank pages or index.php for download.

Read More

where’s my money man!?

Erik

Friday, September 18, 2009

comedy & funny ha ha

No Comment

Share on FacebookTweet

Read More

NagiosChecker Firefox Plugin

Erik

Monday, August 31, 2009

firefox plugins

No Comment

The latest version of the compact Firefox Plugin which reads from multiple Nagios installations can be downloaded here. This plug-in is great for notifications, and can be extensively configured to filter by event type, severity, and several other factors. In addition, it also includes the default nagios sound alerts which can also be turned off […]

Read More

my color PS1 bash prompt

export PS1=”[\[\e[34;1m\]\u@\[\e[30;1m\]\h\[\e[39;1m\]: \w\[\e[0m\]]\$ “ Share on FacebookTweet

Read More

new “vpsfind” tool deployed

as one of my first projects, I decided to write a new and improved “vpsfind” script, which parses data from the system center and can be used to locate the parent vp node, the running status of the vps, the primary username, and primary IP address of any VEID. as of last week, testing has […]

Read More

Rocket Man

Erik

Thursday, August 27, 2009

comedy & funny ha ha

No Comment

Share on FacebookTweet

Read More

cPanel file locations

A helpful reference guide of the files where cpanel/whm stores important information for everything including apache, exim, ftp, frontpage, sql, ssh, php, bind, whm account data, cp scripts, and other configuration files. click here. Share on FacebookTweet

Read More

Domain Details 2.5 Firefox Plugin

Erik

Monday, August 24, 2009

firefox plugins

No Comment

Yet another plugin I wouldn’t be able to live without… It displays Server Type, Headers, IP Address, Location Flag, and links to Whois Reports — Great for troubleshooting and diagnosing DNS propagation issues. Shows you which server is loading the page you’re viewing, which helps keep you sane when diagnosing users that just changed their […]

Read More

Twitter: kireguy

Tweeter button Facebook button Myspace button