At times on a Linux server you want to switch to another user. One example could be one a shared server whereby you need to operate as the other user perhaps for reasons of permissions.
The command syntax to do that is:
sudo su - username
You will be elevated to super user mode, after which
su will not ask for “username”‘s password because a super user is allowed to change into any other user without knowing their password.