Beta and Bash

Well, I changed the banner of this site, added a “banner” with text saying “beta”.
Why? Well, all the cool sites are doing it, that’s why. Heh.

So anyways, I share space on a box in a datacenter in the CBD.
I was ICQing the guy who really owns it, and I said the following:

[15:58] Me: screw a cat. id just tail it. whatever.

Out of context, it is kinda funny.

But what I was really referring to was a bash script that I wrote to easily add a new user to our sendmail mailserver:

addMail.sh (to be run as root or sudo’d):
#! /bin/bash
## Script to easily add users to sendmail

echo Add new Username? \(y/n\)
read ADDUSER

if [ "$ADDUSER" = "y" ]; then
echo Username to add:
read USERNAME
useradd -s /bin/false -d /dev/null -c "will's email user" $USERNAME
passwd $USERNAME
fi

echo FQDN to add:
read FQDN

echo $FQDN RELAY >> /etc/mail/access
nano -w /etc/mail/access
echo $FQDN >> /etc/mail/local-host-names
nano -w /etc/mail/local-host-names
echo @$FQDN $USERNAME >> /etc/mail/virtusertable
nano -w /etc/mail/virtusertable

makemap hash /etc/mail/virtusertable.db < /etc/mail/virtusertable
makemap hash /etc/mail/access.db < /etc/mail/access

/etc/init.d/sendmail restart

All those NANOs are there to make sure that the entry is inserted in our own labeling/grouping (ie my users, his users, other guy's users).

Whooo, dorkdom. Werd.

Damn it feels good to be a Gangsta.

Today the following was direct-deposited to my checking account:

 · Regular bi-monthly paycheck.
 · Vacation days check (5 days worth)
 · Fat bonus check.

What I don’t like is the several thousand dollars I had to pay to Uncle Sam, but that is all part of being a Responsible Citizen™.
I agree with the concept of taxes. We must help out others and the whole, and that’s fine by me.
I just didn’t wish I had to pay so much. (~23% of my income)