RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Sudo stopped working

    Scheduled Pinned Locked Moved Help and Support
    sudoconfiguration
    2 Posts 2 Posters 798 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      Project_Gamer
      last edited by

      Sudo not working!

      Pie 3 running latest version of retropie. 4.3

      getting these errors

      Sudo: /etc/sudooers is owned by uid 1000, should be 0
      Sudo: no valid sudoers sources found, quitting
      sudo: unable to initialize policy plugin.

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @Project_Gamer
        last edited by mitu

        @project_gamer You messed up the permissions on the /etc/sudoers file. Boot the PI in safe mode and restore the permissions on the file - it should be owned by root and not by the pi user. You probably chown-ed the /etc folder to the pi user :(.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.