Related posts:

]]>Setup Sieve mail filter with Postfix and Dovecothttps://blog.tinned-software.net/setup-sieve-mail-filter-with-postfix-and-dovecot/
Mon, 04 Mar 2019 21:22:17 +0000https://blog.tinned-software.net/?p=2701A mailbox can get flooded with many emails, some are automatically generated, others are related to orders. Sorting through emails on a daily basis can be a tedious task. Email filters can help automate the most common tasks. One of … Continue reading →

Related posts:

]]>Force Debian console into text modehttps://blog.tinned-software.net/force-debian-console-into-text-mode/
Tue, 05 Feb 2019 17:00:20 +0000https://blog.tinned-software.net/?p=2679Modern server hardware offers a lot of possibilities for administration. One of them is the remote access port, HP’s iLO. This remote access port allows to access the server even when shut down and allows a lot of control over … Continue reading →

Related posts:

]]>Setup sftp only account using openssh and ssh-keyhttps://blog.tinned-software.net/setup-sftp-only-account-using-openssh-and-ssh-key/
Mon, 07 Jan 2019 22:06:53 +0000https://blog.tinned-software.net/?p=2674There are different ways to lock a user into his home directory. A very special case is to grant sftp-only access, which does not require a full chroot jail to be set up. The sftp subsystem built into openssh allows … Continue reading →

Related posts:

]]>Rewrite author of entire git repositoryhttps://blog.tinned-software.net/rewrite-author-of-entire-git-repository/
Mon, 12 Nov 2018 19:54:48 +0000https://blog.tinned-software.net/?p=2584In git repositories, commit messages contain a person’s email address as an identifier for the user. If the email address used to commit is wrong, you might not want it to be shown in the git repository anymore. In general … Continue reading →

Related posts:

]]>LVM Remove physical volume from volume grouphttps://blog.tinned-software.net/lvm-remove-physical-volume-from-volume-group/
Mon, 17 Sep 2018 10:16:16 +0000https://blog.tinned-software.net/?p=2648LVM provides flexibility to organize logical volumes without being bound to inflexible partitioning. If set-up correctly, the LVM can grow as the disk/raid might grow. To allow the LVM to grow, the block device needs to be added as a … Continue reading →

Related posts:

]]>Remove files from git historyhttps://blog.tinned-software.net/remove-files-from-git-history/
Mon, 20 Aug 2018 15:23:23 +0000https://blog.tinned-software.net/?p=2578When a repository contains files which should have never been committed, it is hard to remove them from the history as git is built to keep a history, not to change it. The following procedure will explain the procedure to … Continue reading →

Related posts:

]]>Docker container on RHEL fails to start without errorhttps://blog.tinned-software.net/docker-container-on-rhel-fails-to-start-without-error/
Mon, 23 Jul 2018 10:27:03 +0000https://blog.tinned-software.net/?p=2638Recently a Docker container refused to start for me without any hint about why in the OS or Docker container’s logs. It turns out that SELinux jumped in and blocked access without logging its interference. Containers which were running in … Continue reading →

Related posts:

]]>Set the iLO password from Linux using hponcfghttps://blog.tinned-software.net/set-the-ilo-password-from-linux-using-hponcfg/
Mon, 25 Jun 2018 19:30:03 +0000https://blog.tinned-software.net/?p=2568No matter if you are looking for a way to manage the iLO settings from the Linux command line or just have lost or forgotten the iLO password, as long as you have access to the Linux system running on … Continue reading →

Related posts:

]]>Create and merge git brancheshttps://blog.tinned-software.net/create-and-merge-git-branches/
Mon, 28 May 2018 19:13:23 +0000https://blog.tinned-software.net/?p=2520Following the philisophy of git, branching is an essential and much used part of the development procedure. When a new feature is developed or a bigger change is to be implemented, a branch is created to work on and later … Continue reading →

Related posts:

]]>Setup LVM and create logical volumehttps://blog.tinned-software.net/setup-lvm-and-create-logical-volume/
Tue, 01 May 2018 19:23:52 +0000https://blog.tinned-software.net/?p=2507Creating an LVM on a disc / partition allows for a lot of flexibility in managing the storage. Managing a disc using LVM consists of a number of steps, from preparing the disc itself until mounting a volume. With LVM … Continue reading →

Related posts:

]]>Extend logrotate for additional log fileshttps://blog.tinned-software.net/extend-logrotate-for-additional-log-files/
Tue, 03 Apr 2018 10:50:32 +0000https://blog.tinned-software.net/?p=2549The Linux operating system consists of many different components. Many of them log their activity directly or indirectly into log files. Over time those log files grow and would eventually fill up the disk if there wasn’t a utility like … Continue reading →

Related posts:

]]>Manage SELinux boolean policieshttps://blog.tinned-software.net/manage-selinux-boolean-policies/
Mon, 05 Mar 2018 08:58:37 +0000https://blog.tinned-software.net/?p=2515Configuring a new service often means dealing with SELinux. The easiest way is most of the time to set an SELinux boolean. But what are SELiunx booleans and what exactly do they do? I will try to shed a little … Continue reading →

Related posts:

]]>Find and extract one file from rpm packagehttps://blog.tinned-software.net/find-and-extract-one-file-from-rpm-package/
Fri, 09 Feb 2018 09:54:13 +0000https://blog.tinned-software.net/?p=2556Extracting a configuration file (or any other single file) from a package which is not installed is not a standard operation on rpm based systems, but with the following few steps, a file can be extracted without installing the package … Continue reading →

Related posts:

]]>Auditing Linux system security using lynishttps://blog.tinned-software.net/auditing-linux-system-security-using-lynis/
Mon, 08 Jan 2018 06:29:31 +0000https://blog.tinned-software.net/?p=2511Lynis is a security auditing tool for UNIX and Linux based systems. It performs a security scan on the system and provides suggestions for best practices for system hardening. The report from lynis shows a lot of suggestions to harden … Continue reading →

Related posts:

]]>Apache document root in users home directory with SELinuxhttps://blog.tinned-software.net/apache-document-root-in-users-home-directory-with-selinux/
Mon, 11 Dec 2017 14:37:40 +0000https://blog.tinned-software.net/?p=2525Serving web-content from a user’s home directory allows the user to conveniently upload files. By default, the apache configuration in many Linux distributions assumes content is uploaded to a single directory owned by the webserver’s user, but it might be … Continue reading →

Related posts:

]]>Align a partition on a hard diskhttps://blog.tinned-software.net/align-a-partition-on-a-hard-disk/
Mon, 13 Nov 2017 10:26:10 +0000https://blog.tinned-software.net/?p=2402New disks need to be prepared for use. When using a hardware raid like explained in Create hardware raid on HP via hpacucli some partitioning tools even show an error message. To prepare a disk for use, the disk needs … Continue reading →

Related posts:

]]>Rescue Data from corrupt SD cardhttps://blog.tinned-software.net/rescue-data-from-corrupt-sd-card/
Mon, 23 Oct 2017 21:40:54 +0000https://blog.tinned-software.net/?p=2460SD cards are used in a variety of devices like digital cameras. Many times SD cards get removed from the devices, connected to a PC and reconnected back to the device. At some point, the SD card might be removed … Continue reading →

Related posts:

]]>Mount raw image of entire dischttps://blog.tinned-software.net/mount-raw-image-of-entire-disc/
Mon, 02 Oct 2017 08:46:06 +0000https://blog.tinned-software.net/?p=2455Raw disc images are very common, they include things like images created using dd for backups and virtual machine disk images. To access the disc image content means the disk image needs to be mounted. Images from a partition can … Continue reading →

Related posts:

]]>Testing environment setup using Vagranthttps://blog.tinned-software.net/testing-environment-setup-using-vagrant/
Mon, 11 Sep 2017 19:37:48 +0000https://blog.tinned-software.net/?p=2449Setting up a test environment with many different operating systems and versions can be a time consuming task. Installing the different operating systems and configuring them for tests or development can take up a lot of time. Vagrant makes this … Continue reading →

Related posts:

]]>Create hardware raid on HP via hpacuclihttps://blog.tinned-software.net/create-hardware-raid-on-hp-via-hpacucli/
Mon, 21 Aug 2017 21:30:09 +0000https://blog.tinned-software.net/?p=2392Configuring a new hardware raid on a HP server can be done comfortably from the Linux command line without restarting the server. HP provides a small command line tool for this job. The following shows how this tool can be … Continue reading →

Related posts:

]]>Linux Mint – Mount an NFS share automaticallyhttps://blog.tinned-software.net/linux-mint-mount-an-nfs-share-automatically/
Mon, 31 Jul 2017 08:47:32 +0000https://blog.tinned-software.net/?p=2442Linux Mint comes pre-installed with all components to mount Windows File sharing (SMB/CIFS) but does not support NFS out of the box. The following post will explain how to enable Linux Mint to mount a NFS share. Additionally the NFS … Continue reading →

Related posts:

]]>Create GnuPG key with sub-keys to sign, encrypt, authenticatehttps://blog.tinned-software.net/create-gnupg-key-with-sub-keys-to-sign-encrypt-authenticate/
Mon, 10 Jul 2017 08:47:13 +0000https://blog.tinned-software.net/?p=2385In order to use a GnuPG key on a smartcard or Yubikey, a GnuPG key needs to be created. This post will show you how to create a GnuPG key with sub-keys for signing, encryption and authentication. The authentication key can … Continue reading →

Related posts:

]]>apt – install the package that contains a specific filehttps://blog.tinned-software.net/apt-install-the-package-that-contains-a-specific-file/
Mon, 19 Jun 2017 11:29:30 +0000https://blog.tinned-software.net/?p=2372Sometimes a command that you execute complains about a dependency being missing on the system. From the file name in the error message it is often not possible to know exactly which package needs to be installed to resolve the … Continue reading →

Related posts:

]]>Understand the basics of rrdtool to create a simple graphhttps://blog.tinned-software.net/understand-the-basics-of-rrdtool-to-create-a-simple-graph/
Tue, 30 May 2017 18:21:44 +0000https://blog.tinned-software.net/?p=2333rrdtool is a powerful tool to store time series data and create graphs. It is very easy to create your first simple graph. This how-to will show the quickest way to generating your first graphs while explaining the options used. rrdtool is used in … Continue reading →

Related posts:

]]>Increase the size of a LUKS encrypted partitionhttps://blog.tinned-software.net/increase-the-size-of-a-luks-encrypted-partition/
Mon, 08 May 2017 16:24:45 +0000https://blog.tinned-software.net/?p=2431Even encrypted discs or partitions sometimes need to have their size increased. A LUKS encrypted volume consists of different layers which all need to be resized. To resize an encrypted volume, multiple steps have to be performed to use the additional … Continue reading →

Related posts:

]]>Update to PHP 5.6 on CentOS 6 using remi repositoryhttps://blog.tinned-software.net/update-to-php-5-6-on-centos-6-using-remi-repository/
Mon, 17 Apr 2017 08:00:15 +0000https://blog.tinned-software.net/?p=2256With CentOS being a conservative distribution, security patches are still applied to CentOS 6, but no new versions are available. When running some websites – like Virtualmin – on CentOS 6, the old PHP version 5.3.3 can cause problems. Updating to a newer … Continue reading →

Related posts:

]]>Permanently reject a specific email sender address using postfixhttps://blog.tinned-software.net/permanently-reject-a-specific-email-sender-address-using-postfix/
Mon, 27 Mar 2017 18:26:09 +0000https://blog.tinned-software.net/?p=2295Postfix generally accepts all sender addresses. It might be needed in some rare cases to reject one sender addresses for some reason. With postfix, there is the possibility to use the “check_sender_access” to set individual actions per sender address. For the … Continue reading →