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

    How to change local account used by emulator software?

    Scheduled Pinned Locked Moved Help and Support
    3 Posts 2 Posters 905 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
      peridian
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • B
        ben_thatmustbeme
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • P
          peridian
          last edited by

          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.

          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.