how to switch user in kali terminal code example Example: linux switch user $ whoami user1 $ su - user2 Password: $ whoami user2 $ exit logout