Tips & Tricks on RedHat Enterprise Linux (RHEL)
Here’s a few tips & tricks on RedHat Enterprise Linux (RHEL)
add/remove SNMP settings
edit the “/etc/snmp/snmpd.conf”
service snmpd reload
edit the “/etc/hosts.allow” as needed
List process & find what process is doing
ps aux
strace
Display cluster configuration
rpm -qa | grep -i cluster
clustat
pcs status
Get system information
on DellPowerEdge:
racadm getsysinfo
racadm lclog view
on RHEL hardware detects:
dmesg
Reset login attempts for users
pam_tally2 -r (reset) -u (user) userName
Reset password expiration date
chage -I -1 -m 0 -M 99999 -E -1 userName