INIT Script TUX

All about Linux init script


What is an init script, what is the use of it, how to write an init script? Lets begin to know the answers. Declaimer: Use it at your own risk!!! Writing this topic for learning and knowledge sharing purpose only. You must own root privileges (and authority) on the system where you are trying or applying this topic. What is an init…

redhat-release

What is my CentOS/RedHat/Fedora Linux Distribution Name and Version


There are many way find the Linux Distribution Name and Version, but my favorite to find  CentOS/RedHat/Fedora distribution name and version is to read from /etc/redhat-release file. In CentOS 6.5, /etc/redhat-release file contain following contents: # cat /etc/redhat-release CentOS release 6.5 (Final To find out distribution name, use command: awk ‘{print $1}’ /etc/redhat-release And to…

chroot-ori1

Chroot SFTP Users for Web Hosting Server.


A chroot on Unix operating systems is an operation that changes the apparent root directory for the current running process and its children. A program that is run in such a modified environment cannot name (and therefore normally not access) files outside the designated directory tree. The term “chroot” may refer to the chroot(2) system…

PAM

PAM with Radius Authentication


PAM Radius Module allows any PAM-capable machine to become a RADIUS client for authentication and accounting requests. The actual authentication will be performed by a RADIUS server. The freeradius can be used for radius server. Download the PAM Radius Module To download the PAM Radius module, click here. Installing & configuring PAM Radius Module To…