pglombardo / PasswordPusher

🔐 Securely share sensitive information with automatic expiration & deletion after a set number of views or duration. Track who, what and when with full audit logs.
https://docs.pwpush.com
Apache License 2.0
2.06k stars 358 forks source link

How to update Set an Admin in azure #2719

Closed BNWEIN closed 2 hours ago

BNWEIN commented 4 hours ago

Checklist

❓ Question

Could anyone tell me how i update our Azure instance to the latest version by any chance?

📎 Additional context

BNWEIN commented 3 hours ago

ok scrap that. I have managed to update, but cannot for the life of me work out how to set an admin. Unsure how to connect to the application console?

I have bash access to the VM running, but from there, i am not sure how to run the command: PasswordPusher.grant_system_admin!('user@example.com')

BNWEIN commented 2 hours ago

So my hunch here is that SSH is not enabled on the container. Any chance we can have a "Custom" version where we have an environmental variable that allows us to enable/disable SSH? I think if we had that, i can SSH to it from the Kudu proxy using

ssh -p 2222 root@localhost password is Docker!

BNWEIN commented 2 hours ago

Ugh

I wish this was in the full docs:

https://github.com/pglombardo/PasswordPusher/issues/2405

Just in case anyone else needs help on it, that solution is far simpler!

Case closed!

pglombardo commented 2 hours ago

Good suggestion! I just added those instructions to the Admin dashboard documentation page.

Thanks for pointing that out!