sudo yum install net-snmp net-snmp-utils -y
nano /etc/snmp/snmpd.conf
agentAddress udp:10.20.1.2:161
rocommunity public
systemctl restart snmpd
sudo yum install net-snmp net-snmp-utils -y
nano /etc/snmp/snmpd.conf
agentAddress udp:10.20.1.2:161
rocommunity public
systemctl restart snmpd
Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
You can identify the affected users by running the following query in your MySQL console
SELECT user, host, plugin FROM mysql.user WHERE plugin='mysql_native_password';
Once you identify the users, update their authentication plugin using this command
ALTER USER 'user'@'location' IDENTIFIED WITH caching_sha2_password BY 'password';
FLUSH PRIVILEGES;
If your application or framework (such as an older version of PHP, Node.js, or a specific driver)
does not support caching_sha2_password, you can use sha256_password as an alternative
- List available security packages:
dnf updateinfo list security
- List installed security updates:
dnf updateinfo list --installed --security
- Count available security updates (by severity):
dnf updateinfo summary
- Apply all available security updates:
sudo dnf update --security
- Apply a specific security advisory:
sudo dnf update --advisory=ELSA-YYYY-XXXX
- Update only specific package
sudo dnf upgrade openssh openssh-server openssh-clients
sudo yum install net-snmp net-snmp-utils -y nano /etc/snmp/snmpd.conf agentAddress udp:10.20.1.2:161 rocommunity public systemctl res...