/proc file system

/proc files system contains information regarding the current processes and system information running on it. You can see the process ID's running at present on the system. #cat /proc/cpuinfo#cat /proc/meminfo You can see list of processes with the PID's present in it: Table 1-1: Process specific entries in /proc .............................................................................. File Content clear_refs Clears page referenced … Continue reading /proc file system

Kerberos Setup

Repo: http://mirror.centos.org/centos/7/os/x86_64/ Install Kerberos Packages: #yum install krb5-server pam_krb5 krb5-workstation 2. Open /etc/krb5.conf - uncomment "realms", "domain_realms" sections and edit with your own server and domains. 3. Open /var/Kerberos/krb5kdc/kadm5.acl - update domain. 4. Create Kerberos database #kdb5_util create -r -s "domain" #systemctl krb5kdc kadmin #firewall-cmd --add-service=Kerberos --permanent #firewall-cmd --add-port=749/tcp --permanent #firewall-cmd --reload #authconfig --enablekrb5 --update … Continue reading Kerberos Setup

NFSv4 – Read Only File System Issue

From NFS server (10.10.10.9) exported as below: /exports 10.0.0.0/8(ro, no_root_squash, async, fsid=0) /exports/Mount 10.10.10.10/32(rw, no_root_squash, async) On NFS client (10.10.10.10): #mount -vvv -t nfs4 -o rw,no_root_squash,async 10.10.10.9:/ /mnt/temp #cd /mnt/temp #touch test.txt ( showing read-only file system which is fine). #cd /mnt/temp/Mount #touch test.txt ( showing read-only file system which is not ok). After updating … Continue reading NFSv4 – Read Only File System Issue