How would you do this?

You logged in as user tuxl, but now you want to switch users to tux2 with tux2’s environment.
How would you do this?

You logged in as user tuxl, but now you want to switch users to tux2 with tux2’s environment.
How would you do this?

A.
su -e tux2

B.
su -f tux2

C.
su – tux2

D.
su tux2

E.
su -m tux2

Explanation:
su means switch user.
To switch from one user to another user with another user’s environment and home directory use – option.
Here switching to tux2, then su – tux2 is answer.



Leave a Reply 0

Your email address will not be published. Required fields are marked *