how to redirect the password failure logs into a syslog file?

General support questions
Post Reply
vyshnav
Posts: 60
Joined: 2017/09/12 03:37:54

how to redirect the password failure logs into a syslog file?

Post by vyshnav » 2018/11/22 08:24:33

Hi ,
We are getting some password failures logs on console.How to redirect the password failure logs into a syslog file.
Please find the below messages which we are getting.
unix_chkpwd[20884]: password check failed for user (admin)
unix_chkpwd[31854]: password check failed for user (root)
unix_chkpwd[22765]: password check failed for user (sftpuser)

Regards,
Vyshnav

MartinR
Posts: 714
Joined: 2015/05/11 07:53:27
Location: UK

Re: how to redirect the password failure logs into a syslog file?

Post by MartinR » 2018/11/22 09:57:06

Have a look in /etc/rsyslog.conf and see if there is any line with the second field set to /dev/console.

Post Reply