Experiencing Technology https://blog.tinned-software.net Tinned-Software Blog Mon, 08 Jan 2018 06:29:31 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.1 Auditing Linux system security using lynis https://blog.tinned-software.net/auditing-linux-system-security-using-lynis/ Mon, 08 Jan 2018 06:29:31 +0000 https://blog.tinned-software.net/?p=2511 Lynis 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

The post Auditing Linux system security using lynis appeared first on Experiencing Technology.

]]>
Apache document root in users home directory with SELinux https://blog.tinned-software.net/apache-document-root-in-users-home-directory-with-selinux/ Mon, 11 Dec 2017 14:37:40 +0000 https://blog.tinned-software.net/?p=2525 Serving 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

The post Apache document root in users home directory with SELinux appeared first on Experiencing Technology.

]]>
Align a partition on a hard disk https://blog.tinned-software.net/align-a-partition-on-a-hard-disk/ Mon, 13 Nov 2017 10:26:10 +0000 https://blog.tinned-software.net/?p=2402 New 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

The post Align a partition on a hard disk appeared first on Experiencing Technology.

]]>
Rescue Data from corrupt SD card https://blog.tinned-software.net/rescue-data-from-corrupt-sd-card/ Mon, 23 Oct 2017 21:40:54 +0000 https://blog.tinned-software.net/?p=2460 SD 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

The post Rescue Data from corrupt SD card appeared first on Experiencing Technology.

]]>
Mount raw image of entire disc https://blog.tinned-software.net/mount-raw-image-of-entire-disc/ Mon, 02 Oct 2017 08:46:06 +0000 https://blog.tinned-software.net/?p=2455 Raw 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

The post Mount raw image of entire disc appeared first on Experiencing Technology.

]]>
Testing environment setup using Vagrant https://blog.tinned-software.net/testing-environment-setup-using-vagrant/ Mon, 11 Sep 2017 19:37:48 +0000 https://blog.tinned-software.net/?p=2449 Setting 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

The post Testing environment setup using Vagrant appeared first on Experiencing Technology.

]]>
Create hardware raid on HP via hpacucli https://blog.tinned-software.net/create-hardware-raid-on-hp-via-hpacucli/ Mon, 21 Aug 2017 21:30:09 +0000 https://blog.tinned-software.net/?p=2392 Configuring 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

The post Create hardware raid on HP via hpacucli appeared first on Experiencing Technology.

]]>
Linux Mint – Mount an NFS share automatically https://blog.tinned-software.net/linux-mint-mount-an-nfs-share-automatically/ Mon, 31 Jul 2017 08:47:32 +0000 https://blog.tinned-software.net/?p=2442 Linux 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

The post Linux Mint – Mount an NFS share automatically appeared first on Experiencing Technology.

]]>
Create GnuPG key with sub-keys to sign, encrypt, authenticate https://blog.tinned-software.net/create-gnupg-key-with-sub-keys-to-sign-encrypt-authenticate/ Mon, 10 Jul 2017 08:47:13 +0000 https://blog.tinned-software.net/?p=2385 In 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

The post Create GnuPG key with sub-keys to sign, encrypt, authenticate appeared first on Experiencing Technology.

]]>
apt – install the package that contains a specific file https://blog.tinned-software.net/apt-install-the-package-that-contains-a-specific-file/ Mon, 19 Jun 2017 11:29:30 +0000 https://blog.tinned-software.net/?p=2372 Sometimes 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

The post apt – install the package that contains a specific file appeared first on Experiencing Technology.

]]>
Understand the basics of rrdtool to create a simple graph https://blog.tinned-software.net/understand-the-basics-of-rrdtool-to-create-a-simple-graph/ Tue, 30 May 2017 18:21:44 +0000 https://blog.tinned-software.net/?p=2333 rrdtool 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

The post Understand the basics of rrdtool to create a simple graph appeared first on Experiencing Technology.

]]>
Increase the size of a LUKS encrypted partition https://blog.tinned-software.net/increase-the-size-of-a-luks-encrypted-partition/ Mon, 08 May 2017 16:24:45 +0000 https://blog.tinned-software.net/?p=2431 Even 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

The post Increase the size of a LUKS encrypted partition appeared first on Experiencing Technology.

]]>
Update to PHP 5.6 on CentOS 6 using remi repository https://blog.tinned-software.net/update-to-php-5-6-on-centos-6-using-remi-repository/ Mon, 17 Apr 2017 08:00:15 +0000 https://blog.tinned-software.net/?p=2256 With 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

The post Update to PHP 5.6 on CentOS 6 using remi repository appeared first on Experiencing Technology.

]]>
Permanently reject a specific email sender address using postfix https://blog.tinned-software.net/permanently-reject-a-specific-email-sender-address-using-postfix/ Mon, 27 Mar 2017 18:26:09 +0000 https://blog.tinned-software.net/?p=2295 Postfix 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

The post Permanently reject a specific email sender address using postfix appeared first on Experiencing Technology.

]]>
Certificate Transparency and unauthorized certificates https://blog.tinned-software.net/certificate-transparency-and-unauthorized-certificates/ https://blog.tinned-software.net/certificate-transparency-and-unauthorized-certificates/#comments Mon, 06 Mar 2017 09:47:09 +0000 https://blog.tinned-software.net/?p=2379 I own a domain which was bought a few months back which is managed by CloudFlare's service in DNS-only mode. As I intended to only use CloudFlare's DNS service, I disabled every option except the DNS related features. You can imagin the surprise to see certificates issued for my domain without my knowledge. Continue reading

The post Certificate Transparency and unauthorized certificates appeared first on Experiencing Technology.

]]>
https://blog.tinned-software.net/certificate-transparency-and-unauthorized-certificates/feed/ 1
How to get scrollbar arrows in Linux Mint 17 https://blog.tinned-software.net/how-to-get-scrollbar-arrows-in-linux-mint-17/ Mon, 13 Feb 2017 09:11:12 +0000 https://blog.tinned-software.net/?p=2325 Linux Mint is missing the scrollbar arrow buttons at the end of the scrollbars. There are situations in which those buttons can be very useful. This how-to will explain how to get them back. Sadly I could not find any … Continue reading

The post How to get scrollbar arrows in Linux Mint 17 appeared first on Experiencing Technology.

]]>
Verifying SSH configuration with a scan https://blog.tinned-software.net/verifying-ssh-configuration-with-a-scan/ Mon, 23 Jan 2017 10:20:04 +0000 https://blog.tinned-software.net/?p=2281 Managing a number of Linux servers and keeping them secure can be a challenge. Certain tools can make the life of an admin a lot easier. To ensure an ssh daemon complies with a desired security configuration the admin can use a scanner … Continue reading

The post Verifying SSH configuration with a scan appeared first on Experiencing Technology.

]]>
Debug SSH Connection issue in key exchange https://blog.tinned-software.net/debug-ssh-connection-issue-in-key-exchange/ Mon, 02 Jan 2017 09:41:21 +0000 https://blog.tinned-software.net/?p=2284 Securing a server means hardening the SSH server settings, but doing so can also cause issues with ssh clients. Finding the cipher or algorithm causing a failled connection can be tricky. Depending on the client used, the error message might be very … Continue reading

The post Debug SSH Connection issue in key exchange appeared first on Experiencing Technology.

]]>
Automount a luks encrypted volume on system start https://blog.tinned-software.net/automount-a-luks-encrypted-volume-on-system-start/ Mon, 12 Dec 2016 07:21:58 +0000 https://blog.tinned-software.net/?p=2273 Linux supports encrypted volumes with luks. When a luks encrypted volume is set up during installation to be booted from, the volume is already configured and set up. When an encrypted volume is set up afterwards, the volume remains locked until … Continue reading

The post Automount a luks encrypted volume on system start appeared first on Experiencing Technology.

]]>
Review: The perfect duo – powerbank and solar charger https://blog.tinned-software.net/review-the-perfect-duo-powerbank-and-solar-charger/ Mon, 21 Nov 2016 07:23:25 +0000 https://blog.tinned-software.net/?p=2352 Do you live in a sunny country? Want to use the sun’s energy to charge your mobile devices? This duo of a solar charger and a USB powerbank will let you harvest the sun and charge your devices whenever you … Continue reading

The post Review: The perfect duo – powerbank and solar charger appeared first on Experiencing Technology.

]]>
Harden SSH server settings https://blog.tinned-software.net/harden-ssh-server-settings/ Mon, 31 Oct 2016 08:17:09 +0000 https://blog.tinned-software.net/?p=2279 Many Linux Administrators use ssh on a daily basis. Many of the ssh servers are in their default configuration. Not changing the default configuration puts the security of the server at risk. That is why it is important to follow a few … Continue reading

The post Harden SSH server settings appeared first on Experiencing Technology.

]]>
Manage photo EXIF data via terminal https://blog.tinned-software.net/manage-photo-exif-data-via-terminal/ Mon, 10 Oct 2016 06:27:16 +0000 https://blog.tinned-software.net/?p=2267 Additional to the GUI tools that are available to manage EXIF information in photos, there are also command line tools that can do this as well. Command line utilities allow you to script the processing of photos. The following shows … Continue reading

The post Manage photo EXIF data via terminal appeared first on Experiencing Technology.

]]>
Get vim to paste content without modification https://blog.tinned-software.net/get-vim-paste-content-without-modification/ Mon, 19 Sep 2016 07:38:55 +0000 https://blog.tinned-software.net/?p=2166 When content is pasted into vim, it tries to automatically detect and re-indent the content. This works most of the time but sometimes it does not, and that can be annoying, but vim would not be so popular if there wasn’t … Continue reading

The post Get vim to paste content without modification appeared first on Experiencing Technology.

]]>
Change Date and Time format for LinuxMint panel applet https://blog.tinned-software.net/change-date-and-time-format-for-linuxmint-panel-applet/ Mon, 29 Aug 2016 07:53:44 +0000 https://blog.tinned-software.net/?p=2185 Modern Linux distributions like LinuxMint provide a nice GUI which is highly configurable. There are so many options and possibilities that most users new to it cannot find where things are configured. Finding the right options means taking some time to … Continue reading

The post Change Date and Time format for LinuxMint panel applet appeared first on Experiencing Technology.

]]>
Manage SSH-keys with the SSH-agent https://blog.tinned-software.net/manage-ssh-keys-with-the-ssh-agent/ Mon, 08 Aug 2016 09:01:33 +0000 https://blog.tinned-software.net/?p=2176 Many webservices generate ssh keys to access their service. With the amount of services the number of SSH keys grows. To avoid dealing with the keys in the command line and the ssh_config(5), you can simply add the ssh-key to the … Continue reading

The post Manage SSH-keys with the SSH-agent appeared first on Experiencing Technology.

]]>
Create a luks encrypted partition on Linux Mint https://blog.tinned-software.net/create-a-luks-encrypted-partition-on-linux-mint/ Mon, 18 Jul 2016 08:03:19 +0000 https://blog.tinned-software.net/?p=2203 Encryption is not only for someone who has something to hide. There are simple concerns like a lost or stolen laptop that justify a full disk encryption. There are only a few steps necessary to create a encrypted partition. In … Continue reading

The post Create a luks encrypted partition on Linux Mint appeared first on Experiencing Technology.

]]>
Dimension rrdtool databases with years worth of values https://blog.tinned-software.net/dimension-rrdtool-databases-with-years-worth-of-values/ Mon, 27 Jun 2016 08:41:19 +0000 https://blog.tinned-software.net/?p=2195 To create an rrd datbase file needs a certain amount of understanding of what you monitor, and for how long the data needs to be kept, and of course, storage space is also a consideration when creating a new rrd … Continue reading

The post Dimension rrdtool databases with years worth of values appeared first on Experiencing Technology.

]]>
Configuring vim for dark terminal windows https://blog.tinned-software.net/configuring-vim-for-dark-terminal-windows/ Mon, 06 Jun 2016 09:03:53 +0000 http://blog.tinned-software.net/?p=2143 On CentOS, vim is installed with a default configuration. These defaults might be right for some users but not for everyone. I will describe the two settings I personally find most annoying for my setup. One of the assumtions in the … Continue reading

The post Configuring vim for dark terminal windows appeared first on Experiencing Technology.

]]>
Recompress git repository https://blog.tinned-software.net/recompress-git-repository/ Mon, 16 May 2016 08:13:45 +0000 http://blog.tinned-software.net/?p=2076 Git repositories are getting bigger and bigger. To reduce the disk space used by a repository, git provides some housekeeping functionality. Compared to other version control systems, git stores the complete history in each cloned repository if not told otherwise. This can … Continue reading

The post Recompress git repository appeared first on Experiencing Technology.

]]>
Modify file and directory date https://blog.tinned-software.net/modify-file-and-directory-date/ Sat, 23 Apr 2016 21:13:33 +0000 http://blog.tinned-software.net/?p=2138 Sometimes it is necessary to change a file or even a directory’s timestamp. This sounds easy, but most GUI utilities installed out of the box on OS X as well as on Linux don’t let you change a file’s timestamp. … Continue reading

The post Modify file and directory date appeared first on Experiencing Technology.

]]>