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.

link|improve this question
Hmm, what about my answer?? – Miro Oct 17 '11 at 15:15
feedback

1 Answer

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.

link|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
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.