System Administration & Configuration

How to generate random word passphrase for Bitcoin wallet on Linux system

Objective Generate random word passphrase for Bitcoin wallet on Linux system. Operating System and Software Versions Operating System: - Linux Distribution Agnostic Requirements Privileged access to your Linux system may be required to install wordlist file. Difficulty EASY Conventions
Read More...

How to test for installed package using shell script on Ubuntu and Debian

Objective Use shell script to check whether a given packages is available/installed on Ubuntu or Debian Linux system. Operating System and Software Versions Operating System: - Ubuntu, Debian Difficulty EASY Conventions
Read More...

Master Your Audio From The CLI With FFMPEG

Objective Learn the basics of audio manipulation and conversion with FFMPEG. Distributions FFMPEG is available for nearly all Linux distributions. Requirements A working Linux install with FFMPEG. Difficulty Easy Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user Introduction Audio formats are often easier to manage than video ones, but that doesn't...
Read More...

Master Your Videos From The CLI With FFMPEG

Objective Learn the basics of video conversion with FFMPEG. Distributions FFMPEG is available on most Linux distributions. Requirements A working Linux install with FFMPEG installed. Difficulty Easy Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user Introduction Video formats can be a real pain. Some programs and devices only support a select few....
Read More...

Keep Track Of Your Schedule With Taskwarrior

Objective Learn the basics of Taskwarrior to schedule and manage your to-do list. Distributions Taskwarrior is a very common program that's available on every major distribution. Requirements A working Linux install with root privileges. Difficulty Easy Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user Introduction Taskwarrior is an simple but...
Read More...

Protect Your System. Run Your Browser In Firejail

Objective Install Firejail and use it to sandbox applications, like web browsers, that interact with the open Internet. Distributions This will work with any current Linux distribution. Requirements A working Linux install with root privileges. Difficulty Easy Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user Introduction The single biggest threat...
Read More...

How to create and manage KVM virtual machines from CLI

Objective Learn how to create and manage KVM virtual machines from command line Operating System and Software Versions Operating System: - All Linux distributions Requirements Root access Packages: qemu-kvm - The main package libvirt - Includes the libvirtd server exporting the virtualization support libvirt-client - This package contains virsh and other client-side utilities virt-install - Utility to install virtual machines virt-viewer - Utility to display graphical console for a virtual...
Read More...

Permission denied on HPFS/NTFS/exFAT filesystem: Operation not supported

Symptoms Factory HPFS/NTFS/exFAT pre-formated Seagate USB drive mounts read and write, however any attempt to alter data or write new data is denied. Using a mount the disk is mounted with following mount options: /dev/sde1 on /mnt/USB type ntfs (rw,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1)
Read More...

Introduction to SELinux concepts and management

Objective Introduction to SELinux concepts and management Operating System and Software Versions Operating System: - Linux distribution agnostic Requirements Root access on a working Linux installation with a valid SElinux policy policycoreutils package: it provides getsebool, setsebool, restorecon utilities coreutils package: provides chcon utility policycoreutils-python package: provides semanage command policycoreutils-newrole: provides the newrole program setools-console: provides seinfo...
Read More...

How to manage ACLs on Linux

Objective Introduction to the management of ACLs ( Access Control List ) on Linux Operating System and Software Versions Operating System: - Linux distribution agnostic Requirements Root access on a working Linux installation Knowledge of Discretionary permission system A filesystem which supports ACLs (e.g xfs, ext2, ext3, ext4), mounted with the ‘acl’ option Having the ‘acl’ package installed Difficulty MEDIUM Conventions
Read More...

How to verify Checksums in Linux

Objective Verify the integrity of ISO downloads using GPG keys. Distributions This will work with any Linux distribution. Requirements * A working Linux install with root access. * GPG Difficulty Easy Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user
Read More...

Download Video From The Command Line With Youtube-dl

Objective Download YouTube videos from the command line using youtube-dl. Distributions Youtube-dl is a Python script that's usable on any distribution. Requirements A Linux install with root access. Python Pip Python package manager Difficulty Easy Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user Introduction People have wanted to download videos...
Read More...

How to Display System Information With Neofetch

Objective Learn how to install, use, and customize Neofetch to display system information in the terminal. Distributions Neofetch is available for nearly Linux distributions. Requirements A Linux installation with access to root for package installations. Difficulty Easy Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user
Read More...

How to Manipulate HTTP With cURL

Objective Learn how to use cURL to make HTTP requests to interact with online content. Distributions All GNU/Linux distributions Requirements Just cURL. It's available in every distribution's repository. Difficulty Easy Conventions # - requires root access either via su or sudo . $ - run as your regular user Introduction cURL is a command line multi-tool for interacting with the web. cURL is capable of acting like a web browser, downloading files, accessing APIs, and even signing you into...
Read More...

Introduction To Linux File Permissions

Linux Permissions, How Do They Work? The Linux permission system for files can appear somewhat confusing to new Linux users. There's a system of letters or numbers all jumbled together in a seemingly unordered mess. In reality, it's quite simple, once you understand how it's broken down. Directories, Links, Read, Write, and Execute Start off by going to a folder in your home directory. The Downloads folder is usually a good option. Once you're there, run ls -lah . $ cd ~/Downloads $ ls -lah
Read More...

Detecting which system manager is running on Linux System

Objective There are multiple system managers which can by possibly running on your Linux system. The current most common system managers are SysV (init), Systemd and Upstart. You may find this short guide to be of use to you, if you are unsure which, system manager is running on your Linux system. Requirements Privileged access to your Linux system is required. Difficulty EASY Conventions
Read More...

How to disable Docker's iptables on Systemd Linux systems

Objective In some cases, it is necessary to disable Docker's IPtables rules to avoid overwriting any existing firewall rules. The following article describes a simple to follow procedure on how to disable disable Docker's IPtables rules on Systemd Linux systems. Requirements Privileged access to your Systemd Linux is required. Difficulty EASY Conventions
Read More...

Test And Recover Your Passwords By Cracking Them With Hashcat

Introduction Hashcat is a robust password cracking tool that can help you recover lost passwords, audit password security, benchmark, or just figure out what data is stored in a hash. There are a number of great password cracking utilities out there, but Hashcat is known for being efficient, powerful, and full featured. Hashcat makes use of GPUs to accelerate hash cracking. GPUs are much better and handling cryptographic work than CPUs are, and they can be utilized in much greater numbers than...
Read More...

Encrypt Your Email With GPG, Thunderbird, and Enigmail

Introduction Encrypting everything online is becoming more important by the day. Email is no different. For Linux users, the process is actually very simple with three common open source tools; Mozilla Thunderbird, Enigmail, and GNU PGP(GPG.) Through the use of these three tools, you can send and receive encrypted messages easily, and protect yourself and the people you're communicating with from attackers and privacy invasions. Gathering The Pieces Install GPG The first thing that you will...
Read More...

How to Securely Transfer Files With SFTP

Introduction Transferring files between computers can be a pain. FTP is somewhat clunky and old, and using online services isn't direct and is less than ideal for handling sensitive files. Git works well for code and text, but isn't the best for binary files and requires a repository to be configured. So, what's a good solution for sending files directly between computers? SFTP. SFTP is a secure file transfer protocol that makes use of SSH to send files between computers. It is encrypted and...
Read More...