Switching users

sudo -u <username><command> will run a program as other user

su - <username> -c "<command>"

Note

- will load the users environment

su - <username> switches console to the user


Linurs startpage