V
Size: a a a
V
R
cat /etc/rsyslog.d/01-sshd.conf
$umask 0000
$fileCreateMode 0600
if ( $programname == 'sshd' and ($msg startswith 'Accepted' or $msg startswith 'Disconnected') ) then action(type="omfile" fileGroup="zabbix" fileCreateMode="0640" file="/var/log/sshd.log")
ls -la /var/log/sshd.log
-rw-r-----. 1 root zabbix 244 мар 12 16:27 sshd.log
V
YS
A
V
NK
A
Po
NN
NN
A
NN
V
dnf upgrade
A
А
А
AZ
A
NN