pkexec root password?
-
So I might have gotten myself into a pickle here. Was attempting to enable write permissions for etc/emulationstation so that I could SFTP some config changes there.
I mistakenly, apparently, tried to do the entire etc folder with
sudo -R -v chmod 777 etc
from the root folder
Now I cannot connect via SFTP at all, and when I tried to repair this with
sudo -R -v chmod 775 etc
I got
sudo: /etc/sudoers is world writable
and it errorsI looked up how to fix that and apparently
pkexec chmod 775 /etc/sudoers
Is supposed to fix it. But the problem now is that pkexec appears to work exclusively with the root user and it seems that retropie disables the root user. At any rate it asks for a password for the root user and I have not been able to find out what that password should be by default. Or maybe it simply fails no matter what password is entered if he root user is disabled?
-
Well, I had all of my setup progress saved so I am in the process now of starting with a fresh image and will be able to quickly get back to where I was. Would rather that the etc folder and all of its children be properly permissioned as it should be and will be wiser now when attempting to chmod /etc/emulationstation and only do it to the folder itself.
-
If you want to customise
es_systems.cfg
you don't need to edit the one in/etc/emulationstation
See https://retropie.org.uk/docs/EmulationStation/#es_systemscfg-edits
-
@buzz
"If you want to customise es_systems.cfg you don't need to edit the one in /etc/emulationstation"I was actually needing to update art assets in the custom theme that I had customized. But I will check out that link too thanks!
-
Ah cool I see it works with themes too. Ah well. ;)
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.