Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux switch user

$ whoami
user1
$ su - user2
Password:
$ whoami
user2
$ exit
logout
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #linux #switch #user
ADD COMMENT
Topic
Name
7+1 =