Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'What logs to check' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
What logs to check
Authored by: mmarlett on Aug 19, '05 12:57:12PM

If you want to a simple GUI, open Console in /Applications/Utilities/ and click on the "Logs" button. Then scroll down the list to "/var/log" and select "secure.log" and see how many times today "frank" tried to log in.



[ Reply to This | # ]
What logs to check
Authored by: bhillier on Aug 19, '05 01:36:35PM

I tried to view the log files with Console, but the log is greyed out and when clicked upon I see this "===== You do not have permission to read this log file =====". How did I get the permission necessary to view the secure.log?



[ Reply to This | # ]
I am denied permission to secure.log
Authored by: rumirocks on Aug 19, '05 02:05:01PM

How do I get into "secure.log" from the console? I am currently denied permission.



[ Reply to This | # ]
I am denied permission to secure.log
Authored by: apollo75 on Dec 03, '05 08:38:09AM

I have the same problem. I am the primary user on this machine, does anyone know why one can't see their own logs?



[ Reply to This | # ]
I am denied permission to secure.log
Authored by: sjk on Dec 03, '05 10:23:01PM

The default permissions on are read/write by root:

% ls -l /var/log/secure.log
-rw------- 1 root admin 77645 Dec 3 20:00 /var/log/secure.log

Repair Disk Permissions will reset it that way if it's been changed (e.g. when the weekly script rotates the file).

Console would have to authenticate to read that file with those permissions, which it doesn't do. A traditional Unix way to monitor it is by running "sudo tail -F /var/log/secure.log" in a Terminal shell. Or prefix whatever other commands you want to use with 'sudo " to access it.



[ Reply to This | # ]