Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is '/var/log/secure.log' in Mountain Lion

I used to check /var/log/secure.log for ssh connection attempts. But since upgrading to Mountain Lion it's gone.

like image 315
Dali Avatar asked Aug 14 '12 22:08

Dali


2 Answers

Thanks to user @ben_fry on twitter, we have an answer. In short, secure.log auth events have been rolled into asl (syslog). Stack won't let me post more than one link so the answer I wanted to post here is on my blog:

http://leoofborg.tumblr.com/post/29470691922/hey-apple-wth-happened-to-secure-log-in-mountain

Note that I have not changed over my denyhosts to use asl so I do not know if this works, but according to the folks on twitter it does.

like image 84
leo of borg Avatar answered Jan 03 '23 13:01

leo of borg


This points to the solution: https://twitter.com/ben_fry/statuses/233594227802648577

Or direct: https://discussions.apple.com/thread/4149679?start=0&tstart=0

SSH logins are now logged in syslog

like image 21
Dali Avatar answered Jan 03 '23 14:01

Dali