1

I've tried everything listed in the "How do I reset a lost administrative password" thread and still have had no success. Are there any other techniques to try with Ubuntu 15.10?

I've put the Ubuntu install disk (is that the same as an Ubuntu Live disk?) in and tried to repair it, but it just says there is no operating system installed. Is there another way to repair it?

I can log in as Guest (like now) and have access to everything without the Ubuntu DVD in, so it's still there, just that nothing gets back the password- even the relatively dangerous technique of deleting the password with pico.

Also tried this.

Any help?

user483118
  • 11
  • 5

1 Answers1

1

From the grub menu, select advanced options and then select recovery mode.

Then, select **"root Drop to root shell prompt. **

Now, run the following command:

mount -rw -o remount /

Next, create a new user using the following command:

adduser newusername

Finally, add the newuser to the sudoers group:

adduser newusername sudo

Now you should be able to log in as newusername and you will have sudo permission and everything.

If you want to, transfer all your personal files from your old user account to the new one and then delete the old user account using the sudo deluser command.

mchid
  • 44,904
  • 8
  • 102
  • 162