Author: doozer
-
Installing and Configuring Fail2Ban
Fail2Ban is a service that scans log files for event such as failed login attempts and then updates firewall rules to ban connections from that address. This doesn’t solve problems with weak authentication but it does greatly slow down the rate of attacks. Fail2Ban is a must have if you run an accessible SSH server.…
-
Installing and Configuring nftables on Debian
Introduction Firewalling in Linux is, by necessity, a complex topic. There’s just no easy way around the problem, the firewall has a lot of moving parts and requires a lot of configuration options. To complicate matters further the Linux ecosystem is undergoing something of a change. The older iptables system is being replaced with nftables…
-
Configuring Sudo
Sudo is almost perfectly configured out of the box but the one thing I find a little irritating is the short default timeout for the session. I’m not against having a timeout but I’m the only person that has physical access to my machine and if some has gained remote access and has set up…
-
Monitor what is Happening With Sudo
Just a very quick note to show how you can monitor what is happening with the sudo command by running: If you run this command without the sudo prefix you will only get a list of your own sudo commands. Any attempt to use sudo by a user that doesn’t have sudo privileges will be…
-
Setting up a New Debian Server
I recently got a new server and I realized I don’t have a comprehansive guide for setting a machine up from scratch. This guide is particularly useful for setting up something like a VPS where you only have SSH access, it assumes you have installed a bare bones headless version of Debian and have root…
-
Making Google Drive work on Debian with Rclone
In an earlier article on setting up KDE Neon I mentioned that I was going to use KIO-Gdrive to access my Google Drive though Dolphin. That was a total failure due to a bug with the way KIO-Gdrive handles the token needed for access – it seems to forget the token every few operations. Digging…
-
Debian System Management
In an ideal world all the software I use would be installed from the Debian repositories and it’d be a single click to keep it all up to date. In reality it’s not that simple. The built in package manager does a pretty good job but there are pieces of software that can’t be installed…
-
Beginners Notes for Latex
This is just a random collection of notes about Latex covering hurdles I hit early on. Including SVG images Long story short, don’t bother, it’s not worth the hassle. In theory you can \usepackage{svg} but adding just that gave me a ton of errors mentioning xcolor names. Adding the line \PassOptionsToPackage{svgnames}{xcolor} to the preamble fixed…
-
Using ClassicThesis
I’m formatting a thesis at the moment and I’ve decided to use Classic Thesis as a starting point. From what I’ve read this is a choice that will divide the room. Some people seem to love the look and others hate it. I quite like the look of it, I certainly couldn’t do better myself,…
-
Setting up TexStudio
A short while ago I decided it was time to learn a little Latex as I want to produce some good looking documents. After many dead-ends I settled on using TexStudio to work with Latex. There’s no reason you can’t do just use a simple text editor but I prefer syntax highlighting and my spelling…
-
Beginning Tex / Latex / Lyx
Despite spending more years at universities than I probably should have I’ve never had the need to use Latex. It came up once when I was collaborating on a paper while studying computer science but my partner was doing most of the actual writing so I even managed to miss it then. In all the…
-
Replacing a drive in a ZFS array
I have a ZFS RAIDZ2 array in my main server and recently it suffered a drive failure. Naturally I was woefully under prepared for this occurrence so I rushed out and bought a replacement drive and got cracking with learning how to safely replace the drive. Background If you don’t already have one you need…