A simple problem that I just can't get to the bottom of:
I'm running
CentOS v 5.X. The date/time logging in
/var/log/secure looks like this:
2010-10-25T17:10:55.612309+01:00 hostname sshd[25760]: Did not receive identification string from XXX.XXX.XXX.XXX
2010-10-25T17:11:25.429817+01:00 hostname sshd[25762]: Did not receive identification string from XXX.XXX.XXX.XXX
2010-10-25T17:11:55.416327+01:00 hostname sshd[25797]: Did not receive identification string from XXX.XXX.XXX.XXX
2010-10-25T17:12:25.472911+01:00 hostname sshd[25800]: Did not receive identification string from XXX.XXX.XXX.XXX
However, I want the date/time format to look like this:
Oct 24 19:34:57 s0020 su: pam_unix(su-l:session): session opened for user root by user (uid=500)
Oct 24 20:12:06 s0020 su: pam_unix(su-l:session): session closed for user user
Oct 24 20:12:08 s0020 sshd[6607]: pam_unix(sshd:session): session closed for user user
I must be really dense today
Can anyone enlighten me?
Recent comments
1 day 2 hours ago
1 day 5 hours ago
1 day 6 hours ago
1 day 8 hours ago
1 day 9 hours ago
1 day 11 hours ago
1 day 12 hours ago
2 days 4 hours ago
2 days 5 hours ago
2 days 9 hours ago