Authentication required to Mount a Device

12,642

It sounds like you may have removed yourself from the "sudo" group - did you edit your user group memberships recently? In order to use sudo, you need to be a member of this group, or specifically added to the sudoers file. However, if you remove this group membership, only someone with root authority can add it back or make a change. You won't be able to install anything new, either.

Note that prior to 12.04, Ubuntu used the "admin" group instead of the "sudo" group, where Debian used the "sudo" group. So, if you upgraded to 12.04, it's possible that you may have been a member of the admin group rather than sudo. Either or both will work, but I'd imagine that "sudo" should now be the preferred group for administrative users.

To confirm if this is your problem, try entering "groups" at a commandline in the terminal. If you don't see either "admin" or "sudo" (one or both), then this is your problem. If you do see one of them, then you may need to directly edit your /etc/sudoers file (as root, of course).

But don't despair, there is a way to get around this, although it's not as simple as most people would like. You will need to gain root access, which can be done at startup with a little work.

First, you need to log in to a single user console mode: here is a good how-to for that. It tells how to fix a variety of causes for the problem you are having (apparently). It's slightly dated, and uses "admin" group instead of "sudo", so substitute accordingly.

Share:
12,642

Related videos on Youtube

OmiPenguin
Author by

OmiPenguin

Proud to be part of Linux Family.

Updated on September 18, 2022

Comments

  • OmiPenguin
    OmiPenguin over 1 year

    Today I came across a very strange message when today i double click the drive WHICH HAS NTFS FORMAT it give me this message THAT AUTHENTICATION IS REQUIRED TO MOUNT A DEVICE I know with root user password u can do this but I have not set the root user password and I don't know the default one.

    So can any one tell me how to solve this issue. Graphically and through command Line.

    enter image description here

    And same thing happen when i tried to install a theme , terminal slapped me with this message " umairmustafa is not in the sudoers file. This incident will be reported."

    What on earth is going on.

  • OmiPenguin
    OmiPenguin almost 12 years
    Great Help my friend Actually I did messed up with sudoers file . I was trying to add my user to virtualbox group. And ended in removing my own user from Admin group . First case did solve the issue.
  • Deepak Verma
    Deepak Verma almost 12 years
    Glad I could help. Your problem happens to a lot of people. That's the way to learn. Fortunately, it's not that hard to recover, and it's probably useful to know that someone with knowledge can gain full power over your system, so that you don't assume security that isn't really there.
  • Glorious Kale
    Glorious Kale almost 6 years
    Changing the "Identify as" from /dev/disk/by-partuuid/ to /dev/sda1 helped in my case.