Archive for the ‘LINUX’ Category

In this tutorial we are going to build our own customize kernel for our RedHat Enterprise Linux.Before we go further i love to remind you that we will do all these process as root user and all the commands will be performed inside your linux kernel Directory which is located inside /usr/src folder. (more…)

In this tutorial we will learn about user and group management in linux.We will learn how to add and delete user and groups in linux.We will also learn how add multiple users and groups through simple script or program.Our this article contains linux user database and password related information.We will also see how to display or check password status of any linux user and how to set password expiry date for any linux user.Not only this we will also learn how to set account expiry date and set user to be inactive after certain number of inactive days.There are many more in this article and to gain all you have to go through this article. (more…)

In this tutorial we will learn how to configure advance permissions using ACL(Access Control List).

In this article we will learn following:

1.How to check the ACL on files or folders using getfacl command.
2.How to identify files/directories that have ACL.
3.How to set ACL on specif files or Folders.
4.How to create the same ACL on all newly created files automatically.
5.How to remove particular ACL entry.
6.How to remove all ACL entries from a file or folder.

Before starting this lab  we will create some users some groups and some files and folders in linux to test acl command and show it with examples.

(more…)

NFS(Network File System) is a distribute File System Protocol which is used to share data over network.We configure a Linux Machine as a NFS Server and the data get stored on SERVER Machine and then get distributed to different linux client machines over network. Here in this tutorial we will learn how to configure that NFS server in RedHat Enterprise Linux  and then also learn what to do at client side to access data shared by NFS server over network. (more…)

In this tutorial we will learn how to create encrypted partition in linux and at the same time we will also learn how to create mapping of encrypted partition in linux.One who want to secure his data by encrypting his hard drive can be done very easily after reading this article.

This article will show you step wise methods to encrypt a partition in redhat enterprise linux using cryptsetup command.We are using LUKS which is standard for linux hard disk encryption in this tutorial.

LUKS stands for  Linux Unified Key Setup.

LUKS stores it information in partition header and enable the user to transport his/her data seamlessly and is free.

Using LUKS we will learn how to unmount to secure our data.

Using LUKS we will also learn how to mount or remount encrypted partition in linux.

We will also learn how to change LUKS password or passphrase for encrypted partition. (more…)