Announcement

Collapse
No announcement yet.

sudo no longer works (solved)

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    sudo no longer works (solved)

    I did not do anything weird to my system but suddenly I can't access anything with administrator rights. For instance when I click synaptic it asks for my password I put it in it says it's the wrong password so I type it again and it says conversation with su failed.

    so i shot to the konsole and type sudo synaptic but it doesn't do anything. Anything I try like sudo kate also doesn't do anything.

    I have read through the forums here and alot of people have similiar problem but the fixes listed I need to run sudo (somthing) and well that doesnt work. I did run passwd and successfully changed my password didn't need the sudo command.

    Also kdesu (something) does not work

    Thanks you for reading this and thanks for the help.

    #2
    Re: sudo no longer works

    nevermind I got it thanks to http://www.psychocats.net/ubuntu/sudo

    Comment


      #3
      Re: sudo no longer works

      I know the problem so have a look here:
      http://www.psychocats.net/ubuntu/sudo

      if you are not happy with command lines do this:
      Boot into recovery mode. when it is finished booting you will see your cursur blinking. Type startx to get into the gui (desktop). Open up kate and open:
      /etc/group. See if you are in the group (as stated in the link above) then open:
      /etc/sudoers. Save that as sudoersOld and paste this:
      # /etc/sudoers
      #
      # This file MUST be edited with the 'visudo' command as root.
      #
      # See the man page for details on how to write a sudoers file.
      #

      # Host alias specification

      # User alias specification

      # Cmnd alias specification

      # Defaults

      Defaults !lecture,tty_tickets,!fqdn

      # User privilege specification
      root ALL=(ALL) ALL

      # Members of the admin group may gain root privileges
      %admin ALL=(ALL) ALL
      into a new doc. Save as sudoers. Close. Reboot into your user.

      I hope that helps.

      Edit: Good for you and google


      HP Pavilion dv6 core i7 (Main)
      4 GB Ram
      Kubuntu 18.10

      Comment

      Working...
      X