Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
Add user to “sudo” group

I do not have root privileges - how then do I add a user to the sudoers list?

share|improve this question
    
Not a duplicate, but certainly more of a "puzzle" question rather than a real-world issue. –  izx Aug 28 '12 at 2:10
add comment

marked as duplicate by izx, mikewhatever, RolandiXor, Stephen Myall, Jacob Johan Edwards Aug 28 '12 at 14:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

up vote 5 down vote accepted

Allowing to modify the list of users allowed to perform super-admin tasks without requiring super-admin privileges would totally undermine the whole idea of using sudo - if anyone can add themselves to sudoers than anyone can become root. So there's no way to do what you want from inside the system.

Having said that, if you have physical access to the system, you can reboot into the recovery console or boot from a LiveCD, where you can get root access to the sudoers file.

share|improve this answer
add comment

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