Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: Broken Sudo (graphical sudo, not in terminal)

  1. #11
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Broken Sudo (graphical sudo, not in terminal)

    Quote Originally Posted by Snowingheart View Post
    Yeah.. I think I have figured it out. I did enable a root account; that is, the actual user "root" has an entry in passwd. I seem to recall I "disabled" that account just by running passwd and setting an empty password for that user. I'm not quite sure where I read that, but that's what I did.
    This is NOT the way to do disable the root account. Read about how to do that here.

    SO, I think the issue is that the "pop-up" is asking for the actual root user password, and not my-user sudo password.
    The pop-up is always in response to the user that called the routine. If the user was john then the pop-up is for that user. If that user has sudo rights and types in their password the the routine (install) will run with root user permissions. If you are the user root, you don't need sudo so no pop-up would be called. You can not make a user root. That user is part of the system.

    Thus, I ran passwd again and set a dummy password, re-tested and it works. Thing is, I read that it's not a wise thing to have an actual root user enabled in Ubuntu (for some sort of safety reasons).
    To protect you from yourself.

    That said, how could I go about deleting/disabling the existing root account and still being able to authenticate via the "pop-up" window?
    Do as I said above to disable root password. Then make sure your account can use sudo. If you can't use sudo see the info here for a solution.
    Last edited by bab1; March 4th, 2013 at 06:12 AM.
    -BAB1

  2. #12
    Join Date
    Sep 2009
    Location
    mexico
    Beans
    11
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Broken Sudo (graphical sudo, not in terminal)

    I did as @arpanaut said and disabled the root account with:

    passwd -l root

    Which, in turn, put me back in square one (the "pop-up" would not authorize me with my password).

    Then, I did as @bab1 said, and:

    Then make sure your account can use sudo. If you can't use sudo see the info here for a solution.


    Added my user to sudo group. This changed the "pop-up" from what it was to display my user icon and user name; then, after entering my password, things worked as they should.

    Thank you both for that. This issue is solved

  3. #13
    Join Date
    Sep 2009
    Location
    mexico
    Beans
    11
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Broken Sudo (graphical sudo, not in terminal)

    Ummm... How do I mark this as SOLVED ?

  4. #14
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Broken Sudo (graphical sudo, not in terminal)

    Thread tools at the top right...
    -BAB1

  5. #15
    Join Date
    Sep 2009
    Location
    mexico
    Beans
    11
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Broken Sudo (graphical sudo, not in terminal)

    That menu only shows 3 options: to get a printable version of the thread, email it or subscribe to it...

  6. #16
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Broken Sudo (graphical sudo, not in terminal)

    The answer is; it's broken. See here for info.
    -BAB1

  7. #17
    Join Date
    Sep 2009
    Location
    mexico
    Beans
    11
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Broken Sudo (graphical sudo, not in terminal)

    Thanks again bab1!

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •