Author: Josh

  • Encrypted Volume Management

    A few weeks ago, I posted about how to add a pass-phrase to a LUKS encrypted volume. After filling the 8 available slots, that would no longer be an option and you would need to remove some old pass-phrases or update existing slots to add new pass-phrases. To list the slots, use the luksDump command:…

  • Domain Auto-Enrollment / Hostname Management with Powershell (v2)

    I am realizing now that I need to get a git repo setup that is publicly accessible which will allow me to share scripts and other code snippets that I’m working on. Here is the second iteration of the powershell domain/hostname management script that I’m working on. It will also update the SQL Server dbname…

  • Update ssh private key pass phrase.

    I like to keep certain pass words in sync with one another as I perform gigs for various clients and adhere to pass word policies for each company. As part of the password update, I typically need to update my SSH key pass phrase using the following command: $ ssh-keygen -f ~/.ssh/id_rsa -p Note that…

  • Domain Auto-Enrollment / Hostname Management with Powershell

    I am working on a project where I spin up a number of Windows servers into AWS and had to automate the AD enrollment and hostname setting. To do this, I used the following powershell script which I setup as a scheduled task to run at startup and then create an AMI and/or template from…

  • Fedora 15 Automatic Updates

    Now why would a Linux distribution have automatic updates? They don’t. They never have. They allow the user to maintain software updates without intervention. Automation is performed by the administrator and that’s why most folks use Linux. Not any more. I was tailing the system log on my Fedora 15 desktop yesterday when I see…

  • Jenkins Slave Authentication

    Note that the following applies to a Windows Slave connecting to a Linux master. When implementing authentication with Jenkins and using slaves, it is important to allow slaves to authenticate to the master in order to continue working. When using the JNLP protocol with slaves, the following may be done to authenticate slaves to the…

  • Ubuntu fail…

    I was reviewing the FAQ for cryptsetup today and noticed the following warning on the page: – Ubuntu as of 4/2011: It seems the installer offers to create LUKS partitions in a way that several people mistook for an offer to activate their existing LUKS partition. The installer gives no or an inadequate warning and…

  • Jenkins CI – Authentication Lockout

    As I’ve been working with Jenkins lately, authentication has become an obstacle to overcome. I’ve begun using the AD plugin for authentication which seems to work fairly well. Two issues that I have found semi regularly as I test and implement solutions around authentication are; 1) administrator locked out, and 2) connection timeouts to AD…

  • AWS Instance – EBS Volume Delete on Termination

    Updated post here. When creating an Amazon Machine Image (AMI) where there are additional volumes added, these volumes are typically not set to delete on termination. This means that after you spin through 5-10 instances based on this AMI there will remain a large number of volumes left over that were not deleted when the…

  • Xen support in the Linux kernel?

    Much of the virtualization around Linux over the last couple of years has gone to KVM which has made it appear as if Xen is dead or dieing. This is not true! The largest virtual infrastructure in the world uses Xen as a hypervisor – Amazon Web Services. Now Xen is in the mainline code…