How to change local account used by emulator software?
-
Hi,
- Is there a way to change the account used to run the software on the RetroPie away from the local 'pi' account?
- What changes would need to be made to permissions/groups for the new account to ensure the software did not run into any issues?
- Is there a way to have the software login to the new account using a Kerberos keytab file via kinit (such as a startup script)? - (assume that local PAM has already been configured to correctly recognise/login user accounts from a krb5/ldap setup)
I have a Kerberised Samba share that I have symlinked the Roms folder through to, so that managing them can be done without dropping files on the local SD card. The slight hiccup is that the local accounts on the pi are not recognised by the remote system so the emulators do not have permission to access the folder structure.
Regards,
Rob. -
hmm, i suppose one method to try would be to change the <command> option in
/etc/emulationstation/es_systems.cfg
You might be able to sudo in to the account that way and give the runcommand.sh ability to run as another user. I'd think that would work off of PAM fine. I'm not sure of all the details though, haven't gone through that type stuff in a while.
-
In the end I figured out how to grant the local pi account the necessary access to the samba share instead.
See post for details: http://ubuntuforums.org/showthread.php?t=2330238
Regards,
Rob.
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.