Information
Remote access is access to a system by an authorized user communicating through an external, nonorganization-controlled network. Remote access methods include, for example, dial-up, broadband, and wireless.
Remote access services, such as those providing remote access to network devices and information systems, which lack automated monitoring capabilities, increase risk and make remote user access management difficult at best.
Automated monitoring of remote access sessions allows organizations to detect cyber attacks and ensure ongoing compliance with remote access policies by auditing connection activities of remote access capabilities, such as Remote Desktop Protocol (RDP), on a variety of information system components (e.g., servers, workstations, notebook computers, smartphones, and tablets).
Solution
Run the following command to install rsyslog :
# ! rpm -q rsyslog &>/dev/null && dnf install rsyslog
Add or update the following lines to the /etc/rsyslog.conf file:
auth.*;authpriv.*;daemon.* /var/log/secure
Run the following command to load the changes to rsyslog.service
# systemctl reload-or-restart rsyslog.service