The scenario is that users are controlled by sssd and you want to add a user locally for those times when your connection to your password backend goes down. Useradd won't let you do it though, cause the user already exists. I figured augeas would be the perfect way to do that but I kept hitting a problem, augeas would fail.
I was trying to get my Samsung TV to play files from my Beefy miracle box and although it was able to connect, it would not show any files. It took a bit of hunting around but I found the following patch needed to be applied to get the files to display.
A talk I gave at Lopsa NJ on linux-kvm, slides in a google doc here
John recorded the talk so maybe it'll be posted on lopsa's website soon...
The latest version of skype doesn't appear to work well on RHEL6, I found the following forum http://community.skype.com/t5/Linux/Skype-for-Redhat-Enterprise-6/td-p/… and followed the two things mentioned there to make it work.
I wanted to be able to define nfs shares with puppet and have puppet take care of the exports line and exportfs. I found this page, but I didn't like that there was perl code thrown in the midst. I rewrote it to use an inline template instead.
I wanted to configure rate limiting on our exim server and needed to setup an ACL that I could include in multiple spots in the configuration. The keyword acl = acl_name is supported (referred to as nested ACL's) but the logic took a little bit of thought...
I want to ratelimit users, the acl for that is here:
warn authenticated = *
I ran into a snag when trying to update the bios on my PE R210ii, the Bios update is 8MB, too large to fit on a floppy image, so I needed to make a floppy image large enough for the file. I tried increasing the size of the Dell floppy image and that didn't work, so I had to start from scratch with a boot floppy made from windows. Funny enough the first link that came back in my google search was that of my coworker.
I've run into this enough times that I thought I'd write a little script to do the work for me.
It's just a simple one line call to python, but I wrapped it with some argument parsing.
It's a python script that takes a password and returns the salted sha512 hash by default. sha256 and md5 can be specified with switches.
We maintain multiple repositories, many of which have the same rpms repeated in different locations. In order to save space we use hardlinking extensively. The hardlink command does an ok job of finding things to link, but we are only really interested in rpms and don't want repomod.xml or comps getting linked so I wrote a little python script to hard link all the rpms based on a checksum. The script is over at my github. hardlink_rpms
Copyright 2019 - All Rights Reserved