Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

Whenever I open a new terminal within 12.04, I am prompted to enter my sudo password.

Why is this happening?

share|improve this question
How are you opening your terminal(i.e. via icon)? You can try Alt+F2 and then type gnome-terminal, does it still ask for sudo? – ignite Nov 8 '12 at 11:56
Did you - by any chance - accidentally use the "Root Terminal" (purple icon) instead of the "Gnome Terminal" (black icon)? – Takkat Nov 8 '12 at 11:57
the alt-f2 terminal does not appear on my screen. I was using the terminal which is found when simply typing in terminal into the unity interface. (black icon) – MattWritesCode Nov 8 '12 at 11:59
Have you customized ~/.bashrc? – ændrük Nov 8 '12 at 21:05
Please, open the terminal, enter your password and then type this command: pstree -als $$. That command has the answer to your question, so please paste the output here. – Andrea Corbellini Nov 18 '12 at 20:26

check your .bashrc file in your home directory. Sometimes it contains some "sudo" commands

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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