Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
show 3 more comments

1 Answer

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
add comment

Your Answer

 
discard

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.