Published September 7, 2022 Change Nagios web users password htpasswd -c /etc/nagios/htpasswd.users nagiosuser Then enter new password for nagiosuser
Published November 19, 2020 SSH Notifications via email IP=”$(echo $SSH_CONNECTION | cut -d ” ” -f 1)”HOSTNAME=$(hostname)NOW=$(date +”%e %b %Y, %a %r”) echo ‘Someone from ‘$IP’ logged into ‘$HOSTNAME’ on […]
Published February 3, 2015 What version of Centos is my server running? This post shows how to find out what version of Centos you are running from the command line. tail /etc/redhat-release This will […]
Published April 1, 2021 Change IP of DC We can change the IP address of the domain controller as below. Change the IP address on DC and run the following […]