Posted April 12, 2016
Usage: sudo -u <username> <shell>
Assuming your account has root/sudo permissions:
1 2 3 |
sudo -u username bash |
You may have to type in your password (not the password of the account you’re switching to.)
1 2 3 4 5 |
james@server:/$ sudo -u liquidsoap bash [sudo] password for james: liquidsoap@server:/$ |
Just type “exit” to get back to your original session:
1 2 3 4 5 |
liquidsoap@dnbnoize:/$ exit exit james@server:/$ |
Speak Your Mind