The default install on debian will have your system boot into graphical mode; Which will prevent XRDP from working correctly. (You will get an immediate disconnect after the login screen, without much to go on in the log files). Setting the system to boot into text mode solves this problem. Set the system to boot […]
Category: Linux
Using dd to secure wipe an entire disk
Linux has many small but extremely powerfull tools, and the disk duplicator dd is one of them. By copying from the system’s random data stream onmto a target disk, we can overwrite a disk front to end, partition data and all. Make very sure abot the target disk. If you don’t get that part right, […]
Enable mysql server on Debian 10
Debian 10 by default ships mariadb, here are the steps to add the official mysql repository to your system and enable the server. Download the MySql apt repository to your system, and install the package as root, or with sudo privileges. You can find the latest version at this location: https://dev.mysql.com/downloads/repo/apt/ At the time of […]
Webmin on debian with let’s encrypt
What do we want to archive Installation of webmin on debian, and adding a certbot SSL certifcate Requirements Debian, certbot How do we get there First step is the installation of webmin, which is perfectly described on the official page. At the current time and version, this amounts to the following steps, asuming a clean […]
UFW Firewall cheat-sheet
What do we want to archive Install and activate the Uncomplicated firewall (UFW) and list some basic commands for adding and removing rules Requirements Debian, Ubuntu, etc How do we get there Installation: Default rules The following defaults will allow all outgoing traffic, and block all incoming traffic, which will make for a nice set […]
Add usr/sbin to path for a local user
What do we want to archieve Add /usr/sbin to the path of the local user Requirements Debian 10, Bash shell How do we get there The directories /sbin, /usr/sbin and /usr/local/sbin are not in a normal user’s path because they contain executables for system maintenance that need administrative priveleges. These are normally only in root’s […]
Add a user to the sudo group
This is not different from adding any other user, to any other group, e.a.:
Creating a linux desktop with X410 and WSL
Note: This process is largely a rewrite from the official X410 app cookbook, for presevation and easy access. Requirements: Windows 10 with WSL installed Install Ubuntu (or any distro of your picking) from the Windows store Install the X410 APP from the windows store Install the X server, and disable any screensaving stuff: Create a […]
Adding the Courier IMAP server to your system (Debian, Ubuntu)
Courier offers IMAP services for your system. Prequisite: PostFix mailserver package Prequisite: Maildir style mailboxes see here Add the Courier package for IMAP support Courier will install a self signed certificate at the location /etc/courier/imapd.pem, which can be replaced with a production grade certificate later. Add your local domains to postfix Check domain settings with […]
How to install zlib for ubuntu
In ubuntu, the zlib package is named zlib1g, so: