For a long time I've been using Microsoft's products in my professional life. Truth be told, their products dominated my personal computing needs as well. Well, while I have been an advocate of FOSS for a long time and typically have had Linux and/or *BSD boxes lying around for various reasons, it hasn't been a significant part of my … Continue reading An OpenBSD Journey: 1
If you're anything like me, when you run a daemon on a Linux system, you'd prefer that it not run as root. Security, and all that. You may have noticed that some systems make this particularly hard if they want to bind to a privileged port. In the case of Splunk, I wanted to run as user 'splunk' but … Continue reading Running Splunk without root privileges
Recently I've found myself writing some code which heavily leverages the cryptography libraries defined in .Net. During this project, for testing purposes, I wanted to generate a file of cryptographically strong random bytes - but I wanted to use PowerShell because I find it is much faster to prototype with. So, how does one do … Continue reading Generating cryptographically secure random numbers with PowerShell
Have you ever had to deal with a deep, dark directory tree where somebody has completely fubar'd the permissions? Something like, where even as an administrator - nay, even as owner, you cannot browse around? When you try to take ownership, you still can't browse without resetting all the permissions? My friends, I say unto you: … Continue reading Repairing fubar directory permissions
As the (very few ;-)) followers of my previous blog know - I am a big PowerShell fan. Love it. Love it. When I am configuring a new system, I spend a little time configuring my PowerShell environment (which is generally where I spend most of my time). This post is about the recommendations I … Continue reading PowerShell profile recommendations
Recently I was sharing out a log file directory on a Windows server. When I went to create the file, I received the following message: "An error occurred while trying to share log$. Incorrect function. The shared resource was not created at this time". Great - why would this be? You know who knew? Google. … Continue reading The “An error occured while trying to share . Incorrect function” problem.
When I migrated an Office 365 connection from ADFS 2012 R2 to PingFederate, I ran into two interesting issues. The resolutions may be helpful for others who are going through the same work so I have posted them here. First, and this one is easy, your certificate signing algorithm has to be SHA1, as Microsoft … Continue reading ADFS to PingFed and broken PowerShell