How to test for open port without telnet

The telnet client is no longer being installed by default on secure systems. So, how do you check that you can get to a remote port, like a mail relay? There’s been a trick in bash for a while, that I didn’t know about. Here’s how to get an idea: 2014-04-05 07:35:56 ec2-user@ip-172-31-9-61:~ 0$ cat […]

Read More

FACLs in OS X Mavericks

When I recently saw this output on my mac, I was shuffled back to the old days of Solaris 7 and FACLs: 2014-04-05 04:00:23 george2@g2mac:~ 0$ ls -alF -rw-r–r–@ 1 george2  staff  3569 Apr  5 15:47 test.py -rw-r–r–@ 1 george2  staff   146 Apr  5 15:47 test.txt

Read More

My Talk at SCaLE 12x

I originally meant to sign up to help with the kid’s stuff at SCaLE 12x. If you have no other reason to go, go for game night – good times. However, on the kids email list, there was a call out for more volunteers for the beginner talks. Heck, I could do that! Right? Yes, […]

Read More

Linux Link Check Tool

I swear ethtool used to be able to give status on a link without having to plumb the interface. This is just bogus waste of time. What I need ASAP in my sysadmin world is a very small network tool, installed by default, that will quickly check link light, media options, and if connected, what […]

Read More

Can’t do ssh key login because of SElinux

This one really threw me off. I buldt a rhel-6.1 test box, and I couldn’t get in using the root ssh key I loaded into ssh-agent. The `ssh-copy-id` worked fine. However, I was getting prompted for the account password (not my key’s password). Here’s what I saw and here’s how to get around it.

Read More

How To Change Timezone to UTC on RHEL5

Did you know there’s a difference between GMT and UTC? I didn’t. I haven’t found it stated succinctly on the web, but it has to do with leap seconds and the increase of them due to tidal deceleration. Tidal deceleration is like how it is difficult to move a big tub of water around due […]

Read More

How to set the mail relay on a rhel6 box

rhel6 uses postfix by default (very nice). I’ve been used to changing the DS line in /etc/mail/sendmail.cf  Now, what you do is: postconf -e “relayhost = [myrelay.fqdn]” It can’t hurt to make sure you have the right setup. Here’s what I have on one of my rhel6 systems 

Read More