Difference between chcon and semanage

SELinux Security Enhanced Linux, SELinux is the discretionary access control in the Linux distribution. This extra layer of security keeps the user's data safe in the system. SELinux context contains additional information, labels attached to each process, and files to determine the SELinux policy. The extra details about…

Looking at the process through psutil and Python

Lately I have been trying to improve my system administration skills. I needed to monitor some of the running processes. To do that I used psutil [https://psutil.readthedocs.io/en/latest/] module in Python. It is a cross platform module to parse the information about running process. It also…

Taking backup for znc instance in Python

IRC [https://en.wikipedia.org/wiki/Internet_Relay_Chat] plays an invaluable role in the life of so many people, separated by so many miles. It has been the primary source of communication for the Free and Open Source community for decades, now. In my last post [http://anweshadas.in/…

Setting up a znc service

Here is an installation guide of znc [https://znc.in] on Fedora [https://getfedora.org/] 31 : Install the znc package sudo dnf install znc The current version of znc in Fedora 31 is znc-1.7.5-1.fc31.x86_64. Configure znc The next was to configure znc. sudo -u znc…

Setting up Qubes OS mirror at dgplug.org

I am trying to work on my sys-admin skills for a some time now. I was already maintaining my own blog, I was pondering to learn Ansible [https://ansible.com]. DGPLUG [https://dgplug.org] was planning to create a new Qubes OS mirror. So I took the opportunity to learn…

How to use Let’s Encrypt with nginx and docker

In my last blog post, I shared the story on how did I set my server up. I mentioned that I’d be writing about getting SSL certificates, so here you go. When I started working on a remote server somewhere out there in the globe and letting that come…