The su command lets you change the current user to any other user. If you need to run a command as a different (non-root) user, use the -l [ username ] option to specify the user account. Additionally, su can also be used to change to a different shell interpreter on the fly.
How do I change users on Mac terminal?
I’ve been using the su command to switch to a different user account. It also lets you run a command as a different user account and also changes shells.
Similar Posts:
- How Do I Change Users On Mac Terminal?
- How Do I Add A User To Sudo Privileges In Ubuntu?
- How Do I Remove A User From Terminal?
- How Do I Add A User In Ubuntu Terminal?
- How Do I Delete A User In Ubuntu?
- How Do I Create A New User In Mac Terminal?
- How Do I Create A New User In Mac Terminal?
- How To Use “rm” In Linux?
- Visual Studio: Change Project Path?
- Linux: How To Configure The Default Password Aging Settings For New Accounts?