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 MoreTag: sysadmin
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 MoreMy 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 MoreLinux 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 MoreLame Hack To Paste Info To Your Terminal
No, I don’t mean post it notes. Sometimes it’s handy to take notes coalesced elsewhere and put them on the screen you’re working on. Instead of opening a editor temporarily, use the shell. Here’s my lame way to do that. $ echo << EOF > sdf > sdf > You exit out with a ^D […]
Read MoreQuick Setup Notes: Network Bonding on RHEL 6
Things are a bit changed from RHEL 5 to 6, but if you are familiar with configuring bonding by hand, you’ll be able to adjust.
Read MoreiLom cheat sheet
I can’t believe how much time I wasted today trying to remember the escape sequence for iLom! Here’s some notes to avoid some pain.
Read MoreCan’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 MoreHow 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 MoreHow 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