Articles by Deepak Prasad
Add Linux to Windows Domain using realm (CentOS/RHEL 7/8)
Step by step guide to add linux to windows Domain (Active Directory) using Realm tool on RHEL/CentOS 7/8. Join linux to windows domain. sssd active directory centos 7.
Linux sftp restrict user to specific directory | setup sftp chroot jail
how to configure sftp server in linux step by step to sftp restrict user to specific directory in Linux Setup sftp chroot jail with authorized_keys passwordless
How to run script with systemd at shutdown only (not at reboot)
Steps to run script with systemd at shutdown only with examples in CentOS/RHEL 7/8 in Linux. Run script or command before shutdown but not at reboot
How to run script after N minutes of boot with systemd CentOS/RHEL 7/8
How to execute command or run script after N minutes of boot using systemd timer in CentOS/RHEL 7/8 Linux fix systemctl failing with unknown section 'Timer'
How to read user input during boot stage with systemd in Linux
Shell script to read user input during boot stage in Linux with a systemd service in CentOS/RHEL 7/8 Linux. Take input at the startup script in Linux.
How to run script on startup using systemd in Linux
How to execute and run script at startup after N minutes with delay using systemd and without cronjob in CentOS/RHEL 7/8 Linux before login prompt appears
How to run script with systemd right before shutdown in Linux
Steps to execute and run script with systemd right before shutdown in CentOS/RHEL 7/8 Linux. Use Before=shutdown.target to execute command before shutdown
How to run script with systemd right before login prompt in CentOS/RHEL 7/8
How to execute or run script with systemd right before login prompt in CentOS/RHEL 7/8 Linux between rc-local.service and getty.target in service unit file
10+ commands to list all systemctl services with status
In systemd all the services are part of unit files so to list services we must define --type= argument and to get the state of individual services we need --state=
Understanding systemd-journald and how logging works with Journal in RHEL 7
An overview on systemd-journald service, how logging happens in RHEL 7 Linux with Journals and systemd-journald logrotate. Compare systemd-journald vs rsyslogd
How to enable persistent logging in systemd-journald without reboot
Enable persistent logging in systemd-journald by changing storage type to persistent in journald.conf to store logs in /var/log/journal without reboot
How to mount partition using systemd unit file?
Steps to automount file system using systemd automount unit file without /etc/fstab to automatically mount and unmount file system in rhel/centos 7 and 8
How to force file system check on boot: systemd-fsck RHEL/CentOS 7/8
Creating /forcefsck and /fsckoptions doesn't work on CentOS/RHEL 7/8 Linux How to perform force file system check on boot (next reboot) using systemd-fsck?
How to start systemd service after NFS mount in Linux
How to execute a script after a network file system is mounted? How to start a systemd service only after NFS share is mounted and available in Linux
How to access VirtualBox shared folder at startup with systemd in Linux
How to mount Oracle VirtualBox shared folder using systemd unit file at system startup? How to execute a script during reboot on the shared folder from Vbox using systemd?
Create systemd service in Linux [Explained with Example]
Step by Step instructions to create systemd service in Linux. Detailed explanation of all the field in systemd service unit file
OpenSSL create Certificate Chain [Root & Intermediate CA]
Steps to create root and intermediate CA certificate and combine them to openssl create certificate chain. Openssl verify certificate chain (CA bundle)
Steps to generate CSR for SAN certificate with OpenSSL
Step by step instruction to generate Certificate Signing Request (CSR) for Subject Alternative Name (SAN) certificates using openssl with examples in Linux
2 easy methods to extend/shrink resize primary partition in Linux
Resize primary partition shrink and extend non lvm root, boot and other primary partition, change size of partition using unallocated free space fdisk & parted
sshd: ssh-rsa algorithm is disabled
We recently upgraded our Base OS and there we starting facing this issue where all SSH connection via RSA Key started to fail with error "sshd: ssh-rsa
Decrypt HTTPS & LDAPS Traffic using WireShark [100% Working]
In this tutorial I am going to share step by step instructions to decrypt both HTTPS and LDAPS Traffic using WireShark. This tutorial is demonstrated using
HackerRank Solution: Map Reduce Advanced - Count number of friends
The task is to count the number of friends each person has using a MapReduce framework. The input consists of multiple lines, each containing a pair of friend
Step-By-Step Tutorial: Use rootkit malware scanner (rkhunter) to detect malware
Perform rootkit malware scanner centos rhel linux using rkhunter. detect rootkit malware using rkhunter with examples. Analyse rkhunter logs
Top 4 Security Risks for Cloud Computing
Since its inception, cloud computing has significantly developed, offering unmatched IT security among many niches and industries. Unlike on-premise
How to monitor Kubernetes Pod and Sidecar Container Resources
In my earlier article I had explained about Kubernetes Resources and how to assign resource quota in a namespace. Now let's make things more interesting and
How is Artificial Intelligence Going to Change the World?
Artificial intelligence (AI) was once a sci-fi fantasy but is now an everyday reality, permeating every aspect of our lives. AI isn't only another tech
How to configure iSCSI target on Ubuntu
In this tutorial I will share the steps to create iSCSI target using Ubuntu 22.04 VM installed on Oracle VirtualBox.
COMPLETELY Uninstall Docker in Ubuntu
Step by step instructions to uninstall docker in Ubuntu. Cleanup and Delete all docker resources safely and completely
How to reduce Git repo size with git filter-branch
In this tutorial, we'll learn how to shrink or reduce Git repo size using git filter-branch. We'll cover identifying large files, safely removing them, and cleaning up to maintain a more efficient and manageable …
CompTIA PenTest+ (PT0-002) Exam Dumps with Practice Questions
Since you are here so I can only assume you are also interested in becoming cybersecurity penetration tester, also called an Ethical Hacker. This tutorial is

