9 articles Linux Basics

Basics of Linux

HowTo: Add CentOS7 machine to Windows AD

Microsoft Active Directory(AD) is widely used in Enterprise for Centralized Authentication, Pushing Security related Policies, etc. Administrator may need to add CentOS7 machines to AD to use same user credentials. This blog will provide steps to add CentOS7 Linux machine to AD. There are multiple ways to achieve this and it is one of the way.…

Linux: Troubleshooting Filesystem Full issue due to open files

We face filesystem Full issue in our day to day Linux Administration. This issue is mainly related with /var, /home filesystems. If both are in / filesystem then it will impact / filesystem as well. When we face this type of issue, our first solution is to delete or truncate log files, temp files, hidden…

Pluggable Authentication Module (PAM)

Please note these notes are based on CentOS/RHEL 5 – What is PAM ? The glue between authentication methods [eg one-time pwds, kerberos, smart cards] and applications requiring authentication services [eg. ftpd, sshd, imapd] etc It is another layer on 1st-Level defense in Linux. – The 4 directories we are concerned with: /lib/libpam*      [3 files…

Bash Scripting – TRAP

Many of us might have faced a stiuation where we have started a script, waiting for its outcome and suddenly someone/ourself do a CTRL+C by mistake to terminate the script. Wouldn’t it be nice if our script becomes ‘immune’ to CTRL+C signal. Here comes ‘trap’ command for help. ‘trap’ command basically traps the signal which…

User Management Basics

“User management” is very crucial and very important for “Server Administrator”. I have compiled this document for Linux Admins to get overview of User Management in Linux.   Please note that I have used CentOS or RedHat Linux here. Each linux flavor has differences. However basic is same.

RPM – RedHat Package Manager

Package Management System is a collection of software tools to automate the process of installing, upgrading, configuring, and removing software packages for a OS in a consistent manner.   RPM is Package Management System introduced by RedHat. RPM typically contains the compiled version of the software. Originally standing for “Red Hat Package Manager”, RPM now…

Linux Basics – Linux Boot Process

Introduction: The Linux startup process is the process of Linux-operating system initialization.   “Linux Boot Process” is most discussed topic over internet. It includes Linux internals. It is very important for Linux Administrator. Because most of the troubleshooting is depend upon this.   Please note that in this article, I have explained everything for x86…