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 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…

File encryption/decryption Linux

Openssl is one of the best tools which can be used to encrypt/decrypt files. You can password protect your important data to avoid misuse. To encrypt your files use the command: openssl des3 -salt -in $FILENAME -out ${FILENAME}.des3 To decrypt the file use the command: openssl des3 -d -salt -in ${FILENAME}.des3 -out ${FILENAME} You can…

How to start shell script writing

This is actually, I want to share, how I learned the shell scripting. It may be helpful for beginners. I am writing it step by step so that it will easy to understand: STEP 1: Do your task manually & prepare the steps. If you know the basic Linux commands, it will help you to…

SFTP (Secure File Transfer Protocol) With Dropbear

Configure Dropbear SSH server SSH server can’t work independently, it require SSH server (like dropbear) to run. Dropbear require libz & libcrypto to run, so please first install them (if not install already). To install the dropbear SSH server, follow the steps given below. -bash-3.2# tar –xvf dropbear-0.52.tar.bz2 -bash-3.2# cd dropbear-0.52 -bash-3.2# ./configure -bash-3.2# make…