Linux: substitute user with su command

Running su without any arguments defaults to root; you will be prompted for root's password:

$ su Password: # whoami root

To switch to another user, specify the username as the sole argument:

$ su someuser Password: $ whoami someuser

When you use su as root, you won't be prompted for the user's password. To go back to the original user, type exit.