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

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

marked as duplicate by izx, mikewhatever, RolandiXor, stephenmyall, Jjed 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.

Not a duplicate, but certainly more of a "puzzle" question rather than a real-world issue. – izx Aug 28 '12 at 2:10
This is really a duplicate of How do I add myself back as a sudo user? rather than How do I add a user to the “sudo” group? – Eliah Kagan Aug 1 '14 at 3:03
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

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