Last Updated: February 25, 2016
·
781
· garethrees

Switch to a different Linux user

$ sudo -u someone_else -s

3 Responses
Add your response

Less of a protip and more of a "rudimentary basics of Linux system administration".

over 1 year ago ·

Cheers ;)

over 1 year ago ·

If you are not part of the sudoers you can just use
su <username>
to give you temporary access and
exit
to go back to the original user

over 1 year ago ·