In my log file I have a problem, all successful logins not have ip address, all incorrect logins have ip addresses.
How can I add the IP address into log of successful accesses?
Failed login have ip address
Successful not have ip address
syslog and journalctl are same
the log has changed since the last update
Thanks
How can I add the IP address into log of successful accesses?
Code:
tail -f /var/log/syslog
Jun 13 14:01:00 proxmox-server pvedaemon[573436]: authentication failure; rhost=::ffff:192.168.1.10 user=test@pam msg=no such user ('test@pam')
Code:
tail -f /var/log/syslog
Jun 13 13:06:53 proxmox-server pvedaemon[571457]: <root@pam> successful auth for user 'user@pam'
syslog and journalctl are same
the log has changed since the last update
Thanks
Last edited: