Best Answer: How Do I Run a Linux User?
Contents How Do I Run a Linux Command as Another User? to Provide Sudo Access, the User Has to Be Added to the Sudo Group. the Su Command Lets You Switch the...
Contents
How do I run a Linux command as another user?
To provide sudo access, the user has to be added to the sudo group. The su command lets you switch 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.
How do I run a command as user?
To “Run as different user” using RUNAS Command in Command Prompt
- Open CMD.
- Enter the command. runas /user:USERNAME “C:fullpathofProgram.exe” For example, if you want to start notepad from user Test run this command : …
- Now you should enter users password.
- If there will be UAC pop up press yes.
14 сент. 2019 г.