Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

When I click a program that requires root password, I enter it and it works.

When I go to the terminal and need to do something that requires the password, it gets rejected.

I've tried many combinations, nothing seems to work. What can be wrong here?

share|improve this question
What command would you execute in terminal? – BloodPhilia Aug 29 '10 at 23:20
Keyboard mapping? Try typing the password in clear text in the terminal (while nobody is standing behind you ;-) ) and see if it comes up as expected. – user12889 Aug 30 '10 at 1:12
@BloodPhilia: I need to edit some apache vhost files. – KdgDev Aug 31 '10 at 11:50
Yes, but what is the exact command that invokes the password prompt. – BloodPhilia Aug 31 '10 at 12:36
@BloodPhilia: sudo su - – KdgDev Sep 2 '10 at 15:23

If sudo su - does not work, you might have restrictions in your /etc/sudoers file. Check, what actions is your user granted in that file.

Another reason might be that your desktop does not use sudo as backend for privilege granting.

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.