Ask Your Question

how can i login with other users in Terminal?

asked 2012-10-01 06:59:22 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

how can i login with other users in Terminal?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-10-01 07:26:12 -0500

hhlp gravatar image

Changing users quickly in same terminal

Using the su command we can quickly change users in a bash terminal for that type the following command;

su - username

When you issue this command it says that change my user to the username I have provided, once you have issued this command you will be prompted for a password. The password you have to enter is not for the root user but for the username you have provided.

Once you are successfully authenticated your bash environment will change to the username you logged on with.

P.D : man su

edit flag offensive delete link more

Question Tools


Asked: 2012-10-01 06:59:22 -0500

Seen: 14,934 times

Last updated: Oct 01 '12