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 Fix Root Access Is Not Properly Installed?
- Windows: Create Command Prompt That Opens To Specific Folder Location?
- How Do I Find My Aws Root User?
- How Do I Remove A User From Ubuntu?
- How To Unroot Android Phone Without Computer?
- 7 Ways To Open Powershell In Windows 10?
- How To Clone A Git Repository Via The Command Line In Linux
- How Do I Add A User To Sudo Privileges In Ubuntu?
- Visual Studio: Change Project Path?
- How Do I Permanently Delete Youtube App?