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