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

Multiple Users - One RPi

General Discussion
2
2
671
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 Jan 10, 2019, 7:30 AM

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

    How do I go about that?

    R 1 Reply Last reply Jan 11, 2019, 12:13 AM Reply Quote 0
    • R
      Russ @Atmosphere
      last edited by Russ Jan 11, 2019, 12:14 AM Jan 11, 2019, 12:13 AM

      @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
      2 out of 2
      • First post
        2/2
        Last post