Open copumpkin opened 9 years ago
It would get overwritten by the launchd
boot program that runs hologram me
on startup, so something needs to be done about this. Your suggestion here reminds me that I want to find a way to make the agent
run as the current user, not as root
like it presently does. That would make things like this more possible.
If we address #38 by unifying the two interfaces (hologram me
= hologram use
with no role), the persisted state falls out of that nicely: if the state is empty, that translates to hologram use
with no role, which is like hologram me
. If the state is set to something, then hologram use
passes that something along and you get a proper role.
I noticed that if I restart a computer running the hologram agent that the user must type
hologram use
again to reacquire role credentials. Could the "current role" state be persisted to disk somehow?