Contents
How do I Sudo another user?
Another way to switch to another account with sudo is to use the -s option. If you run sudo -s that will start a shell as root. You can specify a user with the -u option.
…
Using sudo.
| Commands | Meaning |
|---|---|
| sudo -u user command | Run command as user. |
How do I give someone admin access in Linux?
To use this tool, you need to issue the command sudo -s and then enter your sudo password. Now enter the command visudo and the tool will open the /etc/sudoers file for editing). Save and close the file and have the user log out and log back in. They should now have a full range of sudo privileges.