Multiple Users - One RPi
-
Can I use one Raspberry Pi setup and use multiple users? (Me and my Wife?)
How do I go about that?
-
@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.