Frequently Asked Questions
This is by design. The icon is green and displays a locked padlock icon when you are a standard user.
The first Dock icon is for macOS Big Sur and the second Dock icon for macOS Catalina and earlier:
The icon is yellow and displays an unlocked padlock icon when you are an administrator.
The first Dock icon is for macOS Big Sur and the second Dock icon for macOS Catalina and earlier:
No. Admin rights are granted until some process (like running Privileges again) takes them away.
Yes. You can use the Toggle Privileges option on the dock icon to get admin rights for a set amount of time (the default amount is 20 minutes.)
To set the amount of time used by the Toggle Privileges option, use the following procedure:
- Launch Privileges.
- Click on the Privileges menu and select Preferences.
- Select the desired amount of time from the available options.
The Lock Screen toggle option locks your screen.
The Login Window toggle option returns you to the Login Window without logging you out.
Privileges supports command line use. To use the PrivilegesCLI command line tool, run
/Applications- /Privileges.app/Contents/Resources/PrivilegesCLI
followed by the option you want to use.
The PrivilegesCLI command line tool currently supports the following options:
• /Applications/Privileges.app/Contents/Resources/PrivilegesCLI --add
: Adds the logged-in user to the admin group.
• /Applications/Privileges.app/Contents/Resources/PrivilegesCLI --remove
: Removes the logged-in user from the admin group.
• /Applications/Privileges.app/Contents/Resources/PrivilegesCLI --status
: Displays the current user's privileges.
For assistance, please run the following command to display all available options:
• /Applications/Privileges.app/Contents/Resources/PrivilegesCLI
Privileges uses the system log for logging. To see all logs for Privileges in the Console app, you can filter
for the corp.sap.privileges.helper
process.
To see only the logging associated with changing admin rights in the Console app, you can filter for log messages
containing SAPCorp
.
To access the same logs from the command line, the log
command can be used. To see all logs for Privileges using the log
command, the following command can be used:
log show --style syslog --predicate 'process == "corp.sap.privileges.helper"'
To see only the logging associated with changing admin rights, the following command can be used:
log show --style syslog --predicate 'process == "corp.sap.privileges.helper" && eventMessage CONTAINS
"SAPCorp"'