I need sudo permission in Terminal but Privileges doesn't work

Issue/Question

  • I need to use sudo in Terminal but when running Privileges, the permissions don't work.

Environment

Sudo permissions may be needed to install command-line tools or to run some packages in macOS. Faculty and staff are not made direct administrators of computers, however they do have a small application called "Privileges" that is installed that will allow them to become an administrator temporarily.

Resolution

The Terminal app reads permissions when the application loads. If a request for administrator privileges is made after Terminal has been opened, those permissions are not recognized.

In order for macOS to recognize someone's sudo ability in Terminal, permission must be requested by using the Privileges app before Terminal is opened. 

 

If you need further assistance, please contact the Bowdoin College Service Desk

Details

Article ID: 133449
Created
Mon 7/26/21 11:59 AM
Platform Environment (OS)
macSO