Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persisted role state across agent restarts? #41

Open
copumpkin opened this issue Apr 9, 2015 · 2 comments
Open

Persisted role state across agent restarts? #41

copumpkin opened this issue Apr 9, 2015 · 2 comments

Comments

@copumpkin
Copy link
Contributor

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?

@gaylatea
Copy link
Contributor

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.

@copumpkin
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants