Michael Levin wrote:
First it's logged in /var/log/asl.db but you can't read this file directly. You can use
last, though, which decodes this file to show recent logins.
I have no /var/log/asl.db but I do have a /var/log/asl.log - is that normal?
I have
/var/log/asl.log, but not
asl.db. I wonder if Camelot's looking at his Leopard system, which I believe might be different. My
asl.log file
is human readable, though it's not the same format as most other log files.
not a single instance from that grep. Is that normal?
In Tiger, SSH logins aren't logged in
system.log by default, so yeah, it's normal. They
are logged in
/var/log/secure.log, though. It's owned by root, so you'll have to use
sudo:
<pre class="command">sudo grep ssh /var/log/secure.log</pre>
To look at the older, gzipped secure log files, you'll need to unzip them first in the Terminal, since the Console app won't have permission...
charlie