Mac Guest User And the Pet Semetary

Well, this killed an hour this morning.  So I ran some Mac updates the other day and now every time I (re)start my Mac, the Guest user shows up as one of the user choices even though it was disabled.  I’m running OSX El Capitan and using FileVault and it looks like some weird bug with the EFI implementation.  So at least there is a fix found by someone much smarted than I in the weird way of Macs.  Here is the fix on StackExchange

Hostname on AWS CentOS 7 EC2

I was setting up a shiny new CentOS 7 EC2 instance, but when I tried to set the hostname using all of the typical Linux-y ways, none of them stuck after a reboot.  It just kept going back to the default EC2 naming convention of ‘ip-172.31.x.x’.  Since I am still getting used to CentOS 7 and all of the stuff they changed from 6, I figured it was a CentOS 7 thing.  Not so…

Continue reading “Hostname on AWS CentOS 7 EC2”

Configuring TACACS+ on Juniper SRX and Windows Active Directory

I’m sure someone has already documented this somewhere, but here are my usual breadcrumbs.  After pouring through Juniper’s thorough, yet scattered, documentation I finally got my SRX talking to Windows Ad via TACACS+.

I decided to go with TACACS.net, a free (not as in beer, though) command line oriented service that runs on Windows. It’s a very nice program and really cool that it can be downloaded for free. They charge for support, so I guess that’s how they keep the lights on. Continue reading “Configuring TACACS+ on Juniper SRX and Windows Active Directory”

Windows – Can’t delete local printer port

Another reason I hate dealing with MS. I have had this issue with every version of Windows as far back as I can remember so obviously they will never fix the code.  So, you want to reconfigure a non-working printer or remove an old entry in the printer server “Ports” tab.  But Windows won’t let you – it says that the “Resource is in use.”  Huh?  I deleted the printer, now I just want to delete the local/TCP port.  Turns out there might have been old jobs sticking around and they need to be cleared out first.  Uggh.

http://en.community.dell.com/support-forums/peripherals/w/printers/18.delete-print-jobs

This isn’t my solution, but I just want to give a shout out to the guy who posted it and hopefully one extra link will give him that much more Google ranking cred.

(One of the many reasons) Why I use Linux and not Microsoft

Once again I found myself wasting hours doing something that should have taken minutes.  I had recently upgraded my Windows AD servers to Server 2012 R2, one with the full GUI and the other being Server Core.  My understanding was that I would be able to manage the Server Core edition with the server management tools on the one with the full GUI.  While that was true for the most part, there were still plenty of tasks I needed to use the command line for, sometimes requiring the PowerShell.  I have no problem with a command line and actually prefer it with my Linux boxes, but as usual for Microsoft, the PowerShell commands are odd and the errors are typical Microsoft – non-intuitive.  This leads to time wasted Googling for the answer and how to use the command correctly.  It just feels like such a waste of time. Continue reading “(One of the many reasons) Why I use Linux and not Microsoft”

WordPress Auto Updates

There has been a lot already posited on this subject, but in my corner of the WP world I figured I’d throw in my $0.02.  As someone who has been involved with IT for some time now, I’m well versed on the double-edged blade that is auto-updates.  On one hand it offers a respite for weary, overworked tech folk, but on the other hand updates are no different from the rest of the software development process – bugs are inevitable and bad things can happen. Continue reading “WordPress Auto Updates”

Most Awesome CMS Ever – Part Deux

In a previous post, I wrote about a CMS called GPeasy.  That post actually seems to still get a lot of hits, which might lead the visitors to wonder why I raved about GPeasy when I am using WP as my CMS/blog platform.  Good question.  At the time I decided to go with a CMS, WP was starting to get really good at being both a CMS and blogging platform and GPeasy was still being baked.  But I might have to revisit GPeasy as it looks like they’ve added some cool features.Of course, I also stumbled upon Octopress the other day, which seems to be an interesting blog platform geared towards hackers with a lot of ways to show code, etc.  I might have to check that out as well.  Options abound!

Allowing non-root users access to libvirt and virsh using polkit

I’ve been using virt-manager to manage my KVM hosts and I’m not keen on having to login to the remote hosts as root, plus I would get the password prompt every time I connect to the server (sure I could setup my pulic SSH key on the root account, but not a good idea to use RSA auth to the root account on a remote server).  With Debian (Wheezy) it was fairly simple in that all that I had to do was add my regular username to the group “libvirt”.  Then I could use the URI: qemu+ssh://virtadmin@my.kvmhost.com/system to connect to the remote KVM host using virt-manager.

Continue reading “Allowing non-root users access to libvirt and virsh using polkit”

Resizing my LVM based virtual disk

So I needed to upgrade my mail server but realized I only had 5GB of space left on the /opt partition and the upgrade complained about needing more than 5GB.  Not sure why I didn’t size the whole virtual disk a little bigger in the first place.  Also not sure why I didn’t set Zabbix to warn me when the disk space got that low.  Hindsight and all of that.  So following other’s recipes this is how I resized my LVM based virtual disk, and then subsequently resized the partitions within the VM.

Continue reading “Resizing my LVM based virtual disk”