Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I run the terminal in Ubuntu as a different user than the one I am currently logged in as?

This is what I want to do:

Log in to user A.
Open the terminal as user B.
Open new tabs and terminal windows as user B simply by keying ctrl-shift-t and ctrl-shift-n.

Right now, whenever I want to open a new tab or terminal windows as user B, I have to su - username, type in the password, and then cd to the directory I want - and that's just unacceptable for an aspiring superuser.

share|improve this question

You can create your own launcher with command:

 gksu -u USER_NAME_B /usr/bin/x-terminal-emulator

It prompts password like when opening synaptic, write password and whole application is opened as USER_NAME_B user, so new tabs should be opened as that user.

share|improve this answer
This didn't work for me. It just returned me to the terminal I was already using under the current login. – MrOodles Oct 17 '11 at 22:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .