Author

Deepak Prasad

Deepak Prasad

R&D Engineer

at · 1116 articles published

Founder of GoLinuxCloud with more than 15 years of expertise in Linux, Python, Go, Laravel, DevOps, Kubernetes, Git, Shell scripting, OpenShift, AWS, Networking, and Security. With extensive experience, he excels across development, DevOps, networking, and security, delivering robust and efficient solutions for diverse projects.

Areas of expertise

Certifications & credentials

  • Red Hat Certified System Administrator in Red Hat OpenStackID: 180-246-001
  • Certified Kubernetes Application Developer (CKAD)
  • Red Hat Certified Specialist in Ansible Automation
  • Go: Data Structures, Algorithms and Design Patterns With Go
Author profile illustration for Deepak Prasad — technical writer at GoLinuxCloud

Articles by Deepak Prasad

devops

The Future of Container Runtime Security: Trends and Technologies to Watch

Containerization has flipped the way we build, deliver, and scale applications. Containers offer developers lightweight, efficient and portable environments

Deepak Prasad7 min read
linux

pam_tally2: lock user account after X failed login attempts in Linux

Use pam_tally2 to lock user account in Linux after X failed login attempts. Lock root and normal user, exclude users and group from being locked out.

Deepak Prasad13 min read
linux

pam_faillock: lock user account after X failed login attempts in Linux

This pam_faillock module maintains a list of failed authentication attempts per user during a specified interval and locks the account in case there were more than deny consecutive failed authentications.

Deepak Prasad9 min read
system-administration

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.

Deepak Prasad10 min read
system-administration

Secure OpenLDAP with TLS, MTLS, STARTTLS in Rocky Linux

Step by Step instructions to configure OpenLDAP over SSL/TLS using self signed certificates or Third party Root CA signed certificates using OpenSSL in Rocy Linux 8.

Deepak Prasad12 min read
system-administration

Install and Configure OpenLDAP on Ubuntu [Step-By-Step]

OpenLDAP is an open-source implementation of the Lightweight Directory Access Protocol (LDAP). It's widely used for managing directory information, providing

Deepak Prasad9 min read
system-administration

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

Deepak Prasad18 min read
system-administration

Step-by-Step Tutorial: Install and Configure OpenLDAP in CentOS 7 Linux

Learn the steps to install and configure OpenLDAP on Linux using ldapmodify and cn=config database. Add and delete user, group, objects from ldap database

Deepak Prasad12 min read
system-administration

Configure OpenLDAP Master Slave replication Rocky Linux 8

Step by step instructions to configure openldap master slave replication using Rocky Linux 8. test the master slave replication.

Deepak Prasad7 min read
system-administration

Basics OpenLDAP Tutorial for Beginners

ldap tutorial for beginners covers basics of LDAP and OpenLDAP like What is LDAP? Why do we use LDAP? What are the terminologies used with LDAP? Daemons of LDAP

Deepak Prasad13 min read
system-administration

8 simple steps to configure ldap client RHEL/CentOS 8

Steps to install and configure ldap client using SSSD on RHEL and CentOS 8 Linux. The configuration using SSSD over TLS and SSL encryption for ldap client

Deepak Prasad5 min read
system-administration

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

Deepak Prasad4 min read
system-administration

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'

Deepak Prasad6 min read
system-administration

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.

Deepak Prasad4 min read
system-administration

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

Deepak Prasad6 min read
system-administration

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

Deepak Prasad3 min read
system-administration

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

Deepak Prasad5 min read
system-administration

How to run systemd service as specific user and group in Linux

run service as user linux. systemd allow user to start service. systemd start service as user on boot run systemd service as specific user group CentOS/RHEl 7/8

Deepak Prasad5 min read
linux

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=

Deepak Prasad6 min read
system-administration

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

Deepak Prasad7 min read
system-administration

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

Deepak Prasad3 min read
system-administration

How to mount filesystem without fstab using systemd (CentOS/RHEL 7/8)

We mount filesystem using /etc/fstab to make the changes persistent across reboot. Now there is another way to mount filesystem without fstab using systemd.

Deepak Prasad9 min read
system-administration

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

Deepak Prasad9 min read
system-administration

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?

Deepak Prasad4 min read
system-administration

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

Deepak Prasad8 min read
system-administration

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?

Deepak Prasad9 min read
system-administration

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

Deepak Prasad8 min read
security

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)

Deepak Prasad20 min read
security

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

Deepak Prasad6 min read
storage

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

Deepak Prasad17 min read