If I try to access system.log from my non-admin account I get the message "Unable to read the file"
Is there any way to make Console.app prompt for administrator credentials to view logs the user isn't authorised to as happens elsewhere in the GUI?
Presumably the message is because I'm not authorised:
A1398% ls -la /private/var/log/system.log
-rw-r----- 1 root admin 1807993 Jan 23 16:14 /private/var/log/system.log
I know sudo /Applications/Utilities/Console.app/Contents/MacOS/Console
will open Console.app with sufficient rights but it is rather inconvenient.
sudo open -a Console
(could be that it was-A
)? Does that still work? If so, it would at least shorten the command line.sudo open -a Console
opens Console but despite thesudo
only as current user so the system.log is unavailable.open
and currently not even run macOS any more. Thanks for testing it though. :-)/System/Applications/Utilities/Console.app/Contents/MacOS/Console
.