macOS Tips and Tricks for Technicians

Run terminal commands as another user

This is useful when you are in a user's non-admin account and need to run an admin-level command.

  1. Open terminal and type su username
  2. Enter password for the account
  3. Done, now you can run terminal commands as the account you specified
Was this helpful?
0 reviews
Print Article

Details

Article ID: 16
Created
Fri 10/30/20 9:25 AM
Modified
Tue 2/15/22 2:09 PM