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

    Retropie sudoers issue

    Scheduled Pinned Locked Moved Help and Support
    sudoers
    17 Posts 3 Posters 2.0k 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.
    • HurricaneFanH
      HurricaneFan @trippy86
      last edited by

      @trippy86 I'm not sure what user did 1000 is, what command did you run to change ownership of the splash screen folder?

      Most likely you are going to have to run a chown command to get that file owned by root again.

      Can you run this command and provide the output?

      ls -l /etc/sudoers

      1 Reply Last reply Reply Quote 0
      • T
        trippy86
        last edited by

        Tnx for the reply

        -r--r----- 1 pi root 669 Jun 5 2017 /etc/sudoers

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

          It looks like you mis-typed your chown command and you actually took ownership of your /etc folder also. sudo will not work because of that - as you have noticed.
          If you have an additional Linux installation you can read and fix the ownership of that file by reading the sdcard directly. If not, then you should boot the Pi in 'safe-mode' and fix the ownership of the file - https://raspberrypi.stackexchange.com/questions/61638/how-do-i-start-up-in-safemode.

          T 1 Reply Last reply Reply Quote 0
          • T
            trippy86 @mitu
            last edited by

            @mitu

            Great thanks I'll do that, o ce I'm in safe mode what do I actually do to fix the ownership

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

              @trippy86 Once you re-mount the / to be read/write (see the post I mentioned) execute chown root:root /etc/sudoers and then reboot. That will take care of the sudo problem.

              1 Reply Last reply Reply Quote 0
              • T
                trippy86
                last edited by trippy86

                Lol I can't even figure out how to get into safe mode. I'm very new at this so my apologies

                1 Reply Last reply Reply Quote 0
                • T
                  trippy86
                  last edited by

                  You mentioned another linux os. I've got a noobs sd card. Would it be easier to just install the raspbian and correct the file that way?

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

                    I think it's safer to re-install. You can save your ROMs and configurations - https://retropie.org.uk/docs/Updating-RetroPie/#making-a-backup-option-2 - if you're still able to access RetroPie over file shares.

                    1 Reply Last reply Reply Quote 0
                    • T
                      trippy86
                      last edited by

                      Ok i took your advice and started over

                      But I'm back where I had the issue with my own splash screens

                      How can I safely and correctly move my own splash screens into the main retropie splash screen folder without causing the issue i had before

                      Many thanks

                      HurricaneFanH 2 Replies Last reply Reply Quote 0
                      • HurricaneFanH
                        HurricaneFan @trippy86
                        last edited by

                        @trippy86 What tool are you using to copy the splashcreens over with?

                        1 Reply Last reply Reply Quote 0
                        • HurricaneFanH
                          HurricaneFan @trippy86
                          last edited by

                          @trippy86 You should be able to sftp the files to /home/pi/RetroPie/splashscreens without needing any special permissions.

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            trippy86 @HurricaneFan
                            last edited by trippy86

                            @hurricanefan

                            I'm using winSCP to transfer them

                            I have no issues copying to home/pi/RetroPie/splashscreens

                            But they never load and goes straight to the emulation station loading screen. I've messed with all settings, trying to select one and randomize list result the same way. But if i use a default retropie splash screen it works work fine

                            1 Reply Last reply Reply Quote 0
                            • T
                              trippy86
                              last edited by trippy86

                              I've already got them to work previously by copying them to the main file system and it worked perfectly, but I messed something up (see OP)

                              Just want to avoid it this time lol

                              Thx

                              HurricaneFanH T 2 Replies Last reply Reply Quote 0
                              • HurricaneFanH
                                HurricaneFan @trippy86
                                last edited by

                                @trippy86 You have to pick them from the Splashscreen menu. You don't need to alter any file permissions.

                                More info about the menu:
                                https://retropie.org.uk/docs/Splashscreen/

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  trippy86 @trippy86
                                  last edited by

                                  @trippy86

                                  Solved my issue. Set root password to raspberry and logged in ssh using login as root

                                  Thx for the help guys

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    trippy86 @HurricaneFan
                                    last edited by trippy86

                                    @hurricanefan

                                    Trust me I tried all of that, wouldn't work at all. Worked fine for me before retropie was updated but not since. I've put them in the splashscreens folder in supplementary and works perfectly now

                                    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.