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


Click here to return to the 'I am denied permission to secure.log' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
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 | # ]