TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Multiple Users - One RPi

    General Discussion
    2
    2
    617
    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.
    • A
      Atmosphere
      last edited by

      Can I use one Raspberry Pi setup and use multiple users? (Me and my Wife?)

      How do I go about that?

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @Atmosphere
        last edited by Russ

        @atmosphere, I'm sorry but right now the TRIGGERcmd installer only supports one TRIGGERcmd account per Raspberry Pi.

        But, theoretically you could maybe run two instances of the TRIGGERcmd agent on the Pi, as two separate Linux users, and give those two users sudo access if they need to run things as root.

        If you run triggercmdagent --console it will run in foreground mode like so, and store two separate commands.json files in the .TRIGGERcmdData subfolder of their respective home folders:

        pi@raspberrypi:~ $ triggercmdagent --console
        Run installdaemon.sh to install the triggercmdagent daemon so it runs during boot
        Daemon install: false
        No token exists.  Login to request one.
        prompt: token:
        

        The trick would be in getting the two agents to run after a reboot.

        Russell VanderMey

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