how to switch from base user to normal user in linux code example
Example: linux switch user
$ whoami
user1
$ su - user2
Password:
$ whoami
user2
$ exit
logout
$ whoami
user1
$ su - user2
Password:
$ whoami
user2
$ exit
logout