Ubuntu won't let me enter my root password

Micah Gray

When I was installing a program, it said that I needed to run it as a normal account rather than an administrator account, and so, being the inexperienced person that I am, changed my account to Standard rather than Administrator.

When I went to change it back, I clicked unlock, and entered my password (the only password I have ever used for this computer), and it said that my authentication attempt was unsuccessful.

I've tried changing my password in the recovery mode before booting, and it still doesn't work. I can't install any programs without being admin.

MadMike

How to recover admin rights

Lifted from this post.

First you need to boot into recovery mode. If Ubuntu is the only system installed on your computer you need to hold Shift-Key while booting.

The recovery-mode entry on a single OS system

Select the "recovery mode"-entry which is usually the second one.

The menu from the recovery mode

  • Select "root Drop to root shell prompt".
  • Enter mount -o rw,remount / to make your system writeable

Repairing

Enter the following (replacing your-username with your actual username):

adduser your-username sudo
adduser your-username admin

Now your user will have his admin rights back. Enter

reboot

to reboot your system.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Ubuntu won't let me enter my root password

From Dev

Ubuntu 16.04 won't let me run my CodeLite program

From Dev

My loop won't let me enter user input to end the loop :( (java)

From Dev

Visual Studio 2012 won't let me log out of TFS so I can enter new username/password

From Dev

Visual Studio 2012 won't let me log out of TFS so I can enter new username/password

From Dev

Samba won't let me view my shared folder (Ubuntu systems only)

From Java

GitKraken won't let me open my Private Repository on GitLab

From Dev

Xcode won't let me upload my app

From Dev

VI won't let me save my vimrc file

From Dev

VI won't let me save my vimrc file

From Dev

Google Drive won't let me download my files

From Dev

Ubuntu won't let me edit or delete .vimrc file

From Dev

Ubuntu won't let me edit or delete .vimrc file

From Dev

Ubuntu 16.10 won't let me login, keyboard nonresponsive

From Dev

Newest Ubuntu upgrade won't let me change the background image

From Dev

Why won't my Ubuntu GNOME accept my google password?

From Dev

Why won't my Ubuntu GNOME accept my google password?

From Dev

Won't let me enter information next time through the while (true) loop

From Dev

gksudo nautilus won't let me change permissions of a folder owned by root

From Dev

Samba file server won't let me login as root only as active-directory user

From Java

The compiler won’t let me Get a string

From Dev

GitHub won't let me push

From Dev

Won't let me open regedit

From Dev

DSUM won't let me give it criteria

From Dev

DiskPart won't let me delete a partition

From Dev

xmlns attribute won't let me parse

From Dev

Excel won't let me paste

From Dev

Git Rebase Won't Let Me Type

From Dev

Why won't it let me pass this list?

Related Related

  1. 1

    Ubuntu won't let me enter my root password

  2. 2

    Ubuntu 16.04 won't let me run my CodeLite program

  3. 3

    My loop won't let me enter user input to end the loop :( (java)

  4. 4

    Visual Studio 2012 won't let me log out of TFS so I can enter new username/password

  5. 5

    Visual Studio 2012 won't let me log out of TFS so I can enter new username/password

  6. 6

    Samba won't let me view my shared folder (Ubuntu systems only)

  7. 7

    GitKraken won't let me open my Private Repository on GitLab

  8. 8

    Xcode won't let me upload my app

  9. 9

    VI won't let me save my vimrc file

  10. 10

    VI won't let me save my vimrc file

  11. 11

    Google Drive won't let me download my files

  12. 12

    Ubuntu won't let me edit or delete .vimrc file

  13. 13

    Ubuntu won't let me edit or delete .vimrc file

  14. 14

    Ubuntu 16.10 won't let me login, keyboard nonresponsive

  15. 15

    Newest Ubuntu upgrade won't let me change the background image

  16. 16

    Why won't my Ubuntu GNOME accept my google password?

  17. 17

    Why won't my Ubuntu GNOME accept my google password?

  18. 18

    Won't let me enter information next time through the while (true) loop

  19. 19

    gksudo nautilus won't let me change permissions of a folder owned by root

  20. 20

    Samba file server won't let me login as root only as active-directory user

  21. 21

    The compiler won’t let me Get a string

  22. 22

    GitHub won't let me push

  23. 23

    Won't let me open regedit

  24. 24

    DSUM won't let me give it criteria

  25. 25

    DiskPart won't let me delete a partition

  26. 26

    xmlns attribute won't let me parse

  27. 27

    Excel won't let me paste

  28. 28

    Git Rebase Won't Let Me Type

  29. 29

    Why won't it let me pass this list?

HotTag

Archive