Originally published 2016-08-01 on the UoB Unix blog We make extensive use of SELinux on all our systems. We manage SELinux config and policy with the jfryman/selinux Puppet module, which means we store SELinux policies in plain text .te format – the same format that audit2allow generates them in. One of our SELinux policies that covers permissions for NRPE is a large file. When we generateContinue reading “Merging SELinux policies”
Tag Archives: Linux
Finding 32-bit WAV audio files on Linux
I was trying to find a way to search my archive of recordings on Linux and return the filenames of 32-bit WAV audio files. It’s a little tricky, but I did it. You’ll need to install the ffprobe command (part of the ffmpeg package). I came up with this command. It’s quite long and maybe not the mostContinue reading “Finding 32-bit WAV audio files on Linux”
CD/DVD duplication on Linux with TurboJet
I was looking for easy methods of burning several CD or DVD images across several drives simultaneously on Linux, since burning 20+ CDs on one burner is pretty tedious. It’s possible to use some bash magic to loop cdrecord in parallel but I wanted a GUI app as an alternative to using Nero or AlcoholContinue reading “CD/DVD duplication on Linux with TurboJet”
Jonathan’s Blog now on new “hardware”
This blog, and my other blogs, used to run on a rather old server: two 1GHz Pentium III processors, 1GB memory and 2 x 18GB SCSI hard drives. I host with Ridgeon Network, which is owned by my friend Chris. I help him out with some networking stuff from time to time so he loanedContinue reading “Jonathan’s Blog now on new “hardware””
Building an email server using ClearOS
I’ve had a server at home for years now, and I’ve also been a professional sysadmin for at least three years. I know my way around Linux pretty well and for some time I’ve run my own web server and also other services. But one thing I’ve steered clear of until now is running myContinue reading “Building an email server using ClearOS”
Newbie’s guide for Linux Apache web servers
Today a friend (from a Windows background – still a friend?! :P) asked me how to go about setting up a LAMP (Linux, Apache, MySQL & PHP) server. I wrote him a few notes, not only on how to configure the LAMP stack, but also on how to configure a Linux system properly from scratch,Continue reading “Newbie’s guide for Linux Apache web servers”
Samba fixed!
For those who have been following the issues around Samba suddenly breaking upon upgrade, I’ve now got to the bottom of it. I’ve updated the original post with details, so if you wish to leave comments, please leave them on that post.
TEMPer USB thermometer on Linux
Some time ago I bought a cheap USB thermometer called TEMPer. I was disappointed to find that it didn’t work on Fedora. It would only work on Windows using a poor piece of proprietary software. I eventually found the blog of Tollef Fog Heen, who had managed to get his TEMPer to work. Unfortunately hisContinue reading “TEMPer USB thermometer on Linux”
Upgrading samba breaks it
I have a samba fileserver which has been happily running for a couple of years with identical config but on different versions of samba, and on Fedora and CentOS. The latest incarnation was running samba 3.2.11. But the other day, my samba package was upgraded to 3.4.1 Samba shares on the server immediately stopped workingContinue reading “Upgrading samba breaks it”
An easy way to generate an iptables config
This is a +1 for Easy Firewall Generator for iptables. Of course any self-respecting sysadmin should be able to set up iptables, but sometimes starting off can be tricky. So I use the this website, which lets you define the basics using a handful of checkboxes, and it generates a script that configures your computer’sContinue reading “An easy way to generate an iptables config”