Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
  • What OpenSSH sshd logs when a session disconnects (on Linux)

    There are many reasons you might care about the causes of SSH session disconnections, including that you're trying to troubleshoot potential network or firewall problems and you want to see if people are getting abruptly disconnected from their SSH sessions or if the sessions are ending normally.

  • Easy spamAssassin with OpenSMTPD

    Today I will explain how to setup very easily the anti-spam SpamAssassin and make it work with the OpenSMTPD mail server (OpenBSD default mail server). I will suppose you are already familiar with mail servers.

  • Record system audio output with ALSA

    This was written & tested on an Archlinux system, but I believe it applies to most Linux/ALSA systems.

  • CSRF Attack Examples and Mitigations

    Cross-Site Request Forgery (CSRF) attacks allow an attacker to forge and submit requests as a logged-in user to a web application. CSRF exploits the fact that HTML elements send ambient credentials (like cookies) with requests, even cross-origin.

    Like XSS, to launch a CSRF attack the attacker has to convince the victim to either click on or navigate to a link. Unlike XSS, CSRF only allows an attacker to make requests to the victim’s origin and does not give the attacker code execution within that origin. This does not mean CSRF attacks are any less important to defend against. As we’ll see in the examples, CSRF can be as dangerous as XSS.

  • Ubuntu: ping computers on the network [Guide]

    Do you need to ping a computer on your local network from your Ubuntu PC? Can’t figure out how to do a ping on Ubuntu? We can help! Follow along as we show you how to ping computers on the local network in Ubuntu!

  • Louis-Philippe Véronneau: Preventing an OpenPGP Smartcard from caching the PIN eternally

    While I'm overall very happy about my migration to an OpenPGP hardware token, the process wasn't entirely seamless and I had to hack around some issues, for example the PIN caching behavior in GnuPG.

    As described in this bug the cache-ttl parameter in GnuPG is not implemented and thus does nothing. This means once you type in your PIN, it is cached for as long as the token is plugged.

    Security-wise, this is not great. Instead of manually disconnecting the token frequently, I've come up with a script that restarts scdameon if the token hasn't been used during the last X minutes.

  • Paint faster repetitive patterns in perspective, step by step. - David Revoy

    Painting complex patterns for background in perspective can really be tedious and a long task. Over the years, I came up with my own technique, using the cool features of Krita to spice up my background while lowering the time budget spent on this areas. In this video I'm sharing this technique! I'm detailing the process so this video is very beginner friendly.

  • Create a KDE Plasma Theme with No Code! Part 4

    Create a KDE Plasma Theme with No Code! Part 4

  • Install Plex Server on Raspberry PI - peppe8o

    Being one of most famous media server, Plex brings your media on a single app available for any device and from everywhere. Raspberry PI computer boards fits perfectly plex server needs and are a good option to run your server from your home

    In this tutorial I’m going to show you how to install Plex server in your Raspberry PI.

    Plex has a huge number of followers. It is really flexible and makes your media together, accessible in simple way from any device. Moreover, it allows you to reach a number of new services, so discovering web TVs, Shows, channels, podcasts and so on.

  • Creating a Kodi media PC using a Raspberry Pi 4

    Here's how I set up a media PC using Kodi (formerly XMBC) and a Raspberry Pi 4.

  • How to share files between Android and Linux wirelessly | FOSS Linux

    Are you looking for a way to wirelessly transfer files between your Android phone/tablet and your Linux PC? If so, then you have come to the right place. Now there are no native solutions for sharing files between the two platforms. You need to make use of third-party solutions, of which there are plenty. However, for this tutorial, we will be using the KDE Connect app to transfer the files.

    But before we get started, let’s get a quick idea of KDE Connect and the features it brings to the table.

  • How To Install Erlang on Debian 10 - idroot

    In this tutorial, we will show you how to install Erlang on Debian 10. For those of you who didn’t know, Erlang is a programming language used to build massively scalable soft real-time systems with requirements for high availability. The Erlang runtime system has built-in support for concurrency, distribution, and fault tolerance.

    This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you through the step-by-step installation of Erlang on a Debian 10 (Buster).

  • Migrate from WordPress to Jekyll in 3 Steps

    So, you are here because you need to migrate from WordPress to Jekyll. You are at the right place! I’ll explain to you how to do just that in 3 steps (this takes approximately 30 mins).

  • [Old] From Wordpress To Jekyll

    This method of maintaining a blog appeals mainly to coders, so I’m assuming you’re comfortable with command line operations, already have Git installed, and have a basic working knowledge of HTML and CSS. Jekyll is written in Ruby, so you’ll need Ruby and Bundler installed.

    Your first step is to install Jekyll Exporter on your WordPress site, which will add an “Export to Jekyll” command to your “Tools” menu. This converts all your WordPress posts and drafts to Markdown, organizes them into the Jekyll directory structure, generates a _config.yml, and saves it all in a .zip archive. It also includes your wp-content directory with all your site’s images. It does not, however, attempt to convert your design theme. More on that later.

  • [Old] How To: WordPress to Jekyll

    After I was sure that I wanted to embark on this journey I had to think about how this would all work and what sacrifices I would have to make. I would need to implement some custom stuff to get some features and pages I was used to with WordPress. It was also important that I kept the exact same URL structure.

    Here was the initial list of tasks that had to be completed/built:

    Import WordPress database and retain tags


  • [Old] Moving From WordPress to Jekyll

    When I first started this blog back in 2008 I hosted it myself using an Arch Linux instance with Linode. For the blogging platform I used WordPress MU because it was, and still is, one of the most popular blogging platforms. At that time the MU version was how multiple domains (subdomains) were supported on a single installation. Later it was merged into standard WordPress. It was easy to use and Administer. For a long time I was happy with this setup but at a certain point upkeep was taking to much of my time.

    In December 2017 I decided to move to and let them handle all of the system maintenance. The idea was it would give me more free time and I wouldn’t have to worry about security issues. Also, If I ran into a problem they have people on staff to help.

    The only plugins I was using were ones provided by JetPack so I wasn’t going to lose any functionality. I made the switch moved off of my Arch Linux instance and shut it down.

  • [Old] Why WordPress to Jekyll Migration?

    WordPress to Jekyll migration is really simple for a small blog. But when there are too many posts, you might encounter a lot of errors.

    I cannot cover everything under the sun but I have tried to present all the issues I have faced while migrating.

    We have to export all the pages, posts and media. Pages and posts will be converted to markdown while exporting. So we can directly put these things inside any Jekyll theme. It should work as expected with some troubleshooting.

    Jekyll Export plugin is not so compatible with other WordPress plugins. So try to deactivate all other plugins before performing the export. Try to achieve a plugin-free WordPress site and then run Jekyll Export.

    Here is how you can Migrate from WordPress to Jekyll.

  • A look at search engines with their own indexes

    This is a cursory review of all the indexing search engines I have been able to find.

    The three dominant English search engines with their own indexes1 are Google, Bing, and Yandex (GBY). Many alternatives to GBY exist, but almost none of them have their own results; instead, they just source their results from GBY.

    With that in mind, I decided to test and catalog all the different indexing search engines I could find. I prioritized breadth over depth, and encourage readers to try the engines out themselves if they’d like more information.

More in Tux Machines

Software: Matrix, Ktube, and Monero P2Pool

  • Chat Bubbles on Element and Several Matrix Apps

    This simple comparison wants to help everyone adopt alternative messaging technology, Matrix, with suitable user interface to them. We call Matrix Apps to instant messengers like Element, Fluffy, Nheko, Schildi and Spectral as they are created based upon the said technology. We will start by setting up criteria first that includes chat bubbles, then going through these messengers one by one, and you will see their pictures here along with a little comments from me. I hope you can pick up the messenger with UI you love the most from here.

  • Ktube Media Downloader lets you download YouTube videos easily on Linux

    I always like to tell people about how I have been using Linux as my primary operating system for over ten years. I love Linux, I understand it, it’s free and above all, it fits my workflow in a way Microsoft’s Windows (with all its goodness) probably never will. That also means I love and am a command-line ninja but I also know one thing, a lot of people out there fear and hate the command line.

  • Monero P2Pool V1.0 Is Released

    The latest version of P2Pool, a decentralized Monero mining pool has released. This is the first official release, signaling an invitation for more users to try out the new software.

Better Support & Performance For OpenACC Kernels Is Coming To GCC

While the GNU Compiler Collection has supported OpenACC for a few years now as this parallel programming standard popular with GPUs/accelerators, the current implementation has been found to be inadequate for many real-world HPC workloads leveraging OpenACC. Fortunately, Siemens has been working to improve GCC's OpenACC kernels support. GCC's existing OpenACC kernels construct has been found to be "unable to cope with many language constructs found in real HPC codes which generally leads to very bad performance." Fortunately, improvements are on the way and could potentially be mainlined in time for next year's GCC 12 stable release. Read more

Security Leftovers

  • Database containing 106m Thailand travelers' details leaked • The Register

    A database containing personal information on 106 million international travelers to Thailand was exposed to the public internet this year, a Brit biz claimed this week. Bob Diachenko, head of cybersecurity research at product-comparison website Comparitech, said the Elasticsearch data store contained visitors' full names, passport numbers, arrival dates, visa types, residency status, and more. It was indexed by search engine Censys on August 20, and spotted by Diachenko two days later. There were no credentials in the database, which is said to have held records dating back a decade. “There are many people who would prefer their travel history and residency status not be publicized, so for them there are obvious privacy issues,” wrote Comparitech editor Paul Bischoff on the company’s blog.

  • Break out your emergency change process and patch this ransomware-friendly bug ASAP, says VMware

    VMware has disclosed a critical bug in its flagship vSphere and vCenter products and urged users to drop everything and patch it. The virtualization giant also offered a workaround.

  • Reproducible Builds (diffoscope): diffoscope 185 released

    The diffoscope maintainers are pleased to announce the release of diffoscope version 185. This version includes the following changes:

    [ Mattia Rizzolo ]
    * Fix the autopkgtest in order to fix testing migration: the androguard
      Python module is not in the python3-androguard Debian package
    * Ignore a warning in the tests from the h5py package that doesn't concern
    [ Chris Lamb ]
    * Bump Standards-Version to 4.6.0.

GNOME 41 Released. This is What's New.

GNOME team announced the release of GNOME 41 with some exceptional changes and updates. We wrap up the release in this post. Read more