-
Notifications
You must be signed in to change notification settings - Fork 3
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
Use sudo-prompt to re-run tsrelay in Linux #64
Conversation
@shayne what do the logs show? And what was your Linux set up? |
Was just stock Ubuntu Jammy amd64. Away from keyboard now so I don’t have logs. Were you able to test this in your VM prior to putting up the PR? |
@shayne yep Ubuntu QEMU 7.2 ARM VM: |
@shayne thanks for the logs, I think the nonce was being set from an empty variable so I pushed a fix for that. Please try again when you get a chance ✌🏼 thanks! |
This (draft) PR prompts the user to enter their password for Linux when tsrelay is needed to run with `sudo`. Note that for now it assumes Linux already has `pkexec` installed. Currently, it keeps the same nonce and port so that we don't need to let the client reconfigure its attributes.
Follow up. Distros tested:
Desktops environments tested:
Good news:
Bad news:
cc @samlinville |
This (draft) PR prompts the user to enter their password for Linux when tsrelay is needed to run with
sudo
.Note that for now it assumes Linux already has
pkexec
installed.Currently, it keeps the same nonce and port so that we don't need to let the client reconfigure its attributes.