Category Archives: Code

Password Aging

At the Circus we have a password policy to change all passwords every 90 days. Today it was brought to my attention that one of the linux servers was not following that policy. I confirmed that was true and after … Continue reading

Posted in Code, Linux | Leave a comment

Another Test Lab Script

I’m sorry that all of these TestLab scripts are a recurring theme. Work purchased four 3560s and two 1841s for the lab so I have been updating all of my scripts. When I was working on the lab I kept … Continue reading

Posted in Code, Routing | Leave a comment

Two Variables, One Line

This morning I could not for the life of me remember how to read two variables from one line in bash. As a result I am putting this simple script up here so that I have an easy place to … Continue reading

Posted in Code, Linux | Leave a comment

The Difference between a Professional and a Duffer

By the time I post this story it will be long in the past. I was called in to help another programmer. His code was a semblance of the first set of code. Every time DO X ran with something … Continue reading

Posted in Code, Thoughts | Leave a comment

Even More TestLab Scripts

I doubt many home labs match hardware exactly with whatever the vendor has recommended. As a result most of us must script around or manually edit vendor configuration files. Here are some of my earlier scripts that I have shared … Continue reading

Posted in Code, Routing | Leave a comment

Simple Script

This morning I could not for the life of me remember how to read two variables from on line in bash. As a result I am putting this simple script up here. The listing of printer IP addresses is in … Continue reading

Posted in Code, Linux | Leave a comment

TestLab Scripts

I wrote a couple of scripts for the testlab this week and figured I would share them. You can download them here. These could be modified for a GNS3 lab setup easily as well. Not wanting to reinvent the wheel … Continue reading

Posted in CCIE, Code, Routing | Leave a comment

Some More TestLab Scripts

I wrote a couple more scripts this week. These two little gems update my entire lab by running one command from the testlab tftp server. I pass the main script a lab name and it proceeds to update every router … Continue reading

Posted in CCIE, Code, Routing | Leave a comment

Integrate McKesson MSE into AD

I use the term hacking in the classic sense, not in the cracker sense. We moved one of our enterprise electronic medical records (EMR) from AIX to Linux over the last few weeks. Go-live was last Thursday night, and I … Continue reading

Posted in Code, Linux | Leave a comment

DocMgr with AD Authentication

Over the past couple of days I hacked an older version of DocMgr to authenticate users to Active Directory. I thought it might be interesting for some readers to see my thought process, hence this post. All of the scripts … Continue reading

Posted in Code, Linux | Leave a comment