You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running sshuttle on a manged Mac and it has a non-standard message that is printed every time that sudo is run. Sshuttle does not recognise this and exits with the error below
c : Unable to start firewall manager. Expected READY, got b'Approval Required: You are about to run this Sudo Command with administrative privileges. Please enter your password and press OK to proceed.\n'. Command=['/usr/bin/sudo', '-p', '[local sudo] Password: ', '/usr/bin/env', 'PYTHONPATH=/opt/homebrew/Cellar/sshuttle/1.1.1/libexec/lib/python3.12/site-packages', '/opt/homebrew/Cellar/sshuttle/1.1.1/libexec/bin/python', '/opt/homebrew/bin/sshuttle', '-v', '--method', 'auto', '--firewall']
I do not have privileges to modify my sudo setup (at work anyway). Could there be a fix where it can parse any output from sudo and match the password prompt?
OS is Ventura 13.6.2 on Apple silicon and installed from homebrew.
The text was updated successfully, but these errors were encountered:
skuhl
added a commit
to skuhl/sshuttle
that referenced
this issue
Jan 1, 2024
When we use sudo and start the firewall process, we should be able to
read standard in and find the string "READY". However, some
administrators use a wrapper around sudo to print warning messages
(instead of sudo's lecture feature) to standard out. This commit reads
up to 100 lines looking for "READY" instead of expecting it on the
first line.
I believe this should fix issue sshuttle#916.
When we use sudo and start the firewall process, we should be able to
read standard in and find the string "READY". However, some
administrators use a wrapper around sudo to print warning messages
(instead of sudo's lecture feature) to standard out. This commit reads
up to 100 lines looking for "READY" instead of expecting it on the
first line.
I believe this should fix issue #916.
I am running sshuttle on a manged Mac and it has a non-standard message that is printed every time that sudo is run. Sshuttle does not recognise this and exits with the error below
c : Unable to start firewall manager. Expected READY, got b'Approval Required: You are about to run this Sudo Command with administrative privileges. Please enter your password and press OK to proceed.\n'. Command=['/usr/bin/sudo', '-p', '[local sudo] Password: ', '/usr/bin/env', 'PYTHONPATH=/opt/homebrew/Cellar/sshuttle/1.1.1/libexec/lib/python3.12/site-packages', '/opt/homebrew/Cellar/sshuttle/1.1.1/libexec/bin/python', '/opt/homebrew/bin/sshuttle', '-v', '--method', 'auto', '--firewall']
I do not have privileges to modify my sudo setup (at work anyway). Could there be a fix where it can parse any output from sudo and match the password prompt?
OS is Ventura 13.6.2 on Apple silicon and installed from homebrew.
The text was updated successfully, but these errors were encountered: