The primary configuration for the NFS server is the /etc/exports file. This is the file that you use to specify what directories you want to share with the NFS clients. The syntax of this file is: Directory hostname(options) The value of Directory should be replaced with the name of the directory you want to share […]
Archives for January 2019
How to Enable Password Aging in Linux with NIS
In order to enable password aging in Linux, the shadow file is used. Password aging is not managed in the /etc/passwd file with Linux, unlike other systems. 1. In /etc/login.defs, define PASS_MAX_DAYS to 90 instead of the default 9999: # vi /etc/login.defs PASS_MAX_DAYS=90 The above data from /etc/login.defs is used by useradd command and it […]
Sample /etc/services file in Linux
Below is a sample /etc/services file from a CentOS/RHEL 7 host. # cat /etc/services # /etc/services: # $Id: services,v 1.55 2013/04/14 ovasik Exp $ # # Network services, Internet style # IANA services version: last updated 2013-04-10 # # Note that it is presently the policy of IANA to assign a single well-known # port […]
Basics of Ethernet Bonding in Linux
Introduction The Linux bonding driver provides a method for aggregating multiple network interfaces into a single logical “bonded” interface. The behavior of the bonded interfaces depends upon the mode; generally speaking, modes provide either hot standby or load balancing services. Additionally, link integrity monitoring may be performed. The latest version of the bonding driver can […]
Linux OS Service ‘kdump’
This is a script which configures kdump (kernel dump). Kdump provides a memory dump into a file named vmcore when the kernel has a critical issue. Vmcore is often required to investigate the issue. The crash dump is captured from the context of a freshly-booted kernel, not from the context of the crashed kernel. Kdump […]
Linux OS Service ‘haldaemon’
Description The Linux Hardware Abstraction Layer (HAL) implements a coherent description of all the hardware on a system, including hot-plugged devices such as on USB (Universal Serial Bus). It works by merging information presented by the operating system, the physical hardware, device drivers, subsystems such as CUPS (Common Unix Printing System), and even from system […]