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

This question already has an answer here:

So I bought a used laptop and set up the latest version of Ubuntu on it. I initially set it up with a user profile and password for myself, but decided to give the computer away to a friend who needed it. I created her profile without a password, and then deleted my profile. She lives far away and has told me she has no admin rights, and cannot install a plug-in that she needs. We both don't know a lot about computers or Ubuntu. What instructions can I give her so that she can gain admin rights and be allowed to install software?

share|improve this question

marked as duplicate by Eliah Kagan, Mitch, Basharat Sialvi, Eric Carvalho, Radu Rădeanu Jul 28 '13 at 3:18

This question was marked as an exact duplicate of an existing question.

I suggest using the command line to try to restore the admin rights. Look at this site: Create an administrator user in command line

If that doesn't work, try reinstalling ubuntu completely, I don't think a user can forcefully give themselves admin rights without the admin doing it. You could try creating a new user with the admin rights as well, it's in the same webpage up there.

share|improve this answer

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