How do I change users on Mac terminal?

Answer

  1. The su command lets you switch the current user to any other user.
  2. If you need to run a command as a different (non-root) user, use the –l [username] option to specify the user account.
  3. Additionally, su can also be used to change to a different shell interpreter on the fly.

Absolute BEGINNER Guide to the Mac OS Terminal

How to use the command line on Mac

How do I change users on Mac terminal?

1. The su command lets you switch the current user to any other user.
2. If you need to run a command as a different (non-root) user, use the –l [username] option to specify the user account.
3. Additionally, su can also be used to change to a different shell interpreter on the fly.

You Might Also Like