Thursday, February 5, 2026

Accessing the Unified System Log From a Standard User Account

Rich Trouton:

Using the log command line tool doesn’t require root privileges or require admin authorization, but it needs to be run by a user with admin rights.

[…]

What this does is create a sudo configuration which allows all members of the staff group on the Mac, which is a group that has all local users on the Mac as members, to run the log command line tool with root privileges. This removes the need for the account to have admin rights and enables accounts with only standard rights to use the log command line tool to get information from the unified system log on that Mac.

Comments RSS · Twitter · Mastodon

Leave a Comment