Systemd – run a script before system shutdown
Here systemd will execute /srv/app_shutdown_script.sh before the system reboots. Refer to the following steps. Create a systemd Unit file with the following content. # cat /etc/systemd/system/exec-before-shutdown.service [Unit] Description=Shutdown run script…
Read more »logrorate: error: lines must begin with a keyword or a filename (possibly in double quotes)
Logrotate command returns the following error: # logrotate -vf /etc/logrotate.d/mylog reading config file mylog reading config info for /var/log/mylog.log error: iptables:1 lines must begin with a keyword or a filename…
Read more »
Configure a Linux system as a wifi router or hotspot
This article provide a simple and precise steps to create a Wi-Fi Hotspot or router on Ubuntu / Debian / Fedora / CentOS / RHEL/ Arch Linux system using nmcli…
Read more »
sudo log configuration on Linux

sudo-io configuration on Linux

Rsync on ssh chroot jail
Using OpenSSH you can bind SSH, SFTP, SCP or RSYNC users to their home directory and restrict them to access other directories on the SSH server. In this article we…
Read more »
SCP on chroot ssh jail
Using OpenSSH you can bind SSH, SFTP, SCP users to their home directory and restrict them to access other directories on the SSH server. In this article we will configure…
Read more »
SFTP on chroot SSH jail
Using OpenSSH you can bind SSH, SFTP, SCP users to their home directory and restrict them to access other directories on the SSH server. In this article we will configure…
Read more »
Chroot SSH Configuration on Linux|RHEL|CentOS
Using OpenSSH you can bind SSH or SFTP users to their home directory and restrict them to access other directories on the SSH server. In this article we will demonstrate…
Read more »
How to setup passwordless chroot SFTP on Linux
This article describes a step by step procedure to set up password-less chroot SFTP login between a source and destination system.
Read more »