Linux

Adding to Sudoers in One Line

Recently I had to build a startup script which added a user to the sudoers file. Here's what I learned

Jack Liddiard

1 minute read

Recently I had to build a startup script which added a user to the sudoers file. I figured doing something like echo "something here" >> /etc/sudoers would be enough, but how wrong was I.

Hardening SSH in One Line

A one liner to harden SSH

Jack Liddiard

2 minute read

Many moons ago I used to manage several hundred servers for a company I worked for. Whilst it was fun it also proved very tiresome as menial tasks, such as changing the port SSH listens on, becomes very tiresome moving server to server.