How to test for open report 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:

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

It makes sense that Darwin has some sort of extended attributes, and we've been seeing it for years on mac, but I never tried to fuss with it on the command line. Every OS is getting in on this, but I haven't seen a consensus on what the 11th character should be (@, ., *), but if there's 11 characters for permissions, you can be sure there's something more going on.

I'm on GitHub

At this year's SCaLE, it was requested of me to start putting my obscure projects on GitHub. I have started doing this and you can find my repository at https://github.com/TechTamer

My Talk at SCaLE 12x

SCaLE 12x logo

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?

Latest Update

Sorry to all of you who've stopped by my little corner of the internet, but haven't found any updates. I got distracted for months by trying to get GeSHi to work and interpret code block on my site. That version of the drupal, the library, library api module, the geshi module, etc. did not work together. It was made more painful by just slow hosting and drush wasn't fully there just yet. I've moved my hosting provider (very snappy ssd) and I got highlightjs working (mostly).

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 networks it's connected too. I can't be the only one who's sturggled with miscabled systems or the enumeration of ports. Why doesn't this exist!?

Tags: 

Lame 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 (or ctrl-d for those in the windows world)

Tags: 

Quick 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.

iLom 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.

Can't do ssh key login because of SElinux

This one really threw me off. I buld 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.

Pages

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer