A colleague of mine pointed me out to Lynis, a system’s configuration audit tool which checks the hardening of any running UNIX or UNIX-like system, including the BSDs. This tool has a built in check list and a set of sane and safe configurations and compares them to the target system. As output we find […]

Lynis or how to quickly audit your system’s security configuration

How to mitigate Spectre and Meltdown on a Lenovo T430s laptop with Ubuntu
As recently announced in a previous article I wanted to write a couple of guides on how to mitigate Spectre and Meltdown vulnerabilities in GNU/Linux and UNIX environments. It is always a good and I hope a standard practice to have your systems patched and if they aren’t for whatever the reason (that legacy thing […]

How to install Drupal 9 on FreeBSD 13.0
Drupal 7 is approaching its original EOL (End of Life) date (Nov. 2021) which has been extended to November 2022 due to COVID’s impact. Most companies are using Linux already and have their upgrade plans in the works or are thinking about them. This is a good time to switch platform and use Drupal 9 […]

A brief introduction to Regular Expressions
A regular expression is a set of characters, a string of characters if you will, that specify a pattern. Ever used the grep command? It makes use of them. The ‘grep’ command is very handful when one needs to look for certain things inside a text file, or looking for some specific pattern from another […]

How to install sudo in FreeBSD
Sudo is a very useful application. It allows a regular user to perform tasks only reserved to the root account. There is lots of documentation about sudo and there is even a book about it called “Sudo Mastery”. If you need to investigate deep on this, buy it. Why do you need this? Well… Everyone […]

Absolute FreeBSD 3rd Edition Book Review
Absolute FreeBSD 3rd Edition from Michael W. Lucas, printed by ‘No Starch Press’, is an absolute (pun intended) must have for every BSD user and I’d go so far as to say to every UNIX and Linux user indeed. If you find the articles in Adminbyaccident.com useful to you, please consider making a donation. Use […]

How to format an USB drive on FreeBSD
File system support on FreeBSD falls onto UFS (UNIX File System) or originally named the FFS (Fast File System and on ZFS (Zetabyte File System). If you are using your box as a desktop-workstation you will use USB drives to share files with other systems, to carry things on your pocket or safe the day […]

How to connect a FreeBSD box to the internet through an Android device via an USB port
FreeBSD is known to be very suitable for computer servers, from Netflix streaming to Whatsapp messaging as powerful examples. Some also use FreeBSD as a workstation OS. I am one of those using BSD on both camps, although I also use some GNU/Linux boxes for ‘trivial’ purposes. In modern times having an internet connection seems […]

How to install RKHunter on FreeBSD
In this post you will find simple instructions to install rkhunter on FreeBSD which is a root kit “hunter” so your system/s will have some security in place for that kind of unwanted software. But for those who do not know what a rootkit is, let’s give it a simple definition (which you can get […]

How to install MariaDB in FreeBSD
MariaDB is a derivative from the world-famous enterprise class MySQL database. The MySQL founder is Michael Widenius, also known as Monty. He created the project, it worked out for some time, it caught Sun’s attention and they bought it. Then Oracle bought Sun and knowing Larry everyone left running without looking what was left behind. […]
