Skip to main content
added 19 characters in body
Source Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 264

I findfound an ariclesarticle http://superuser.com/questions/611511/how-to-launch-sshuttle-without-superuser-pwd-prompt, but when I try ps auxwww |grep sud, I get output a bit different output:

root 2846 0.0 0.1 79104 4328 pts/0 S+ 08:27 0:00 sudo -p [local sudo] Password: PYTHONPATH=/usr/lib/python3/dist-packages -- /usr/bin/python3 /usr/bin/sshuttle --method auto --firewall

root      2846  0.0  0.1  79104  4328 pts/0    S+   08:27   0:00 sudo -p [local sudo] Password:  PYTHONPATH=/usr/lib/python3/dist-packages -- /usr/bin/python3 /usr/bin/sshuttle --method auto --firewall

So I trytried to replace /usr/bin/python /usr/share/sshuttle/main.py /usr/bin/python -v --firewall 12300 0

/usr/bin/python /usr/share/sshuttle/main.py /usr/bin/python -v --firewall 12300 0

with my case PYTHONPATH=/usr/lib/python3/dist-packages -- /usr/bin/python3 /usr/bin/sshuttle --method auto --firewall, when finish the edition:

PYTHONPATH=/usr/lib/python3/dist-packages -- /usr/bin/python3 /usr/bin/sshuttle --method auto --firewall

When I finished editing, visudovisudo says my grammagrammar is wrong,wrong; what's my mistakesmistake and how to get the things done?

I find an aricles http://superuser.com/questions/611511/how-to-launch-sshuttle-without-superuser-pwd-prompt, when I try ps auxwww |grep sud, I get output a bit different

root 2846 0.0 0.1 79104 4328 pts/0 S+ 08:27 0:00 sudo -p [local sudo] Password: PYTHONPATH=/usr/lib/python3/dist-packages -- /usr/bin/python3 /usr/bin/sshuttle --method auto --firewall

So I try to replace /usr/bin/python /usr/share/sshuttle/main.py /usr/bin/python -v --firewall 12300 0 with my case PYTHONPATH=/usr/lib/python3/dist-packages -- /usr/bin/python3 /usr/bin/sshuttle --method auto --firewall, when finish the edition, visudo says my gramma is wrong, what's my mistakes and how to get the things done?

I found an article http://superuser.com/questions/611511/how-to-launch-sshuttle-without-superuser-pwd-prompt, but when I try ps auxwww |grep sud, I get different output:

root      2846  0.0  0.1  79104  4328 pts/0    S+   08:27   0:00 sudo -p [local sudo] Password:  PYTHONPATH=/usr/lib/python3/dist-packages -- /usr/bin/python3 /usr/bin/sshuttle --method auto --firewall

So I tried to replace

/usr/bin/python /usr/share/sshuttle/main.py /usr/bin/python -v --firewall 12300 0

with my case:

PYTHONPATH=/usr/lib/python3/dist-packages -- /usr/bin/python3 /usr/bin/sshuttle --method auto --firewall

When I finished editing,visudo says my grammar is wrong; what's my mistake and how to get the things done?

Source Link
yopuzaze
  • 31
  • 1
  • 2

sudo sshuttle without password

I find an aricles http://superuser.com/questions/611511/how-to-launch-sshuttle-without-superuser-pwd-prompt, when I try ps auxwww |grep sud, I get output a bit different

root 2846 0.0 0.1 79104 4328 pts/0 S+ 08:27 0:00 sudo -p [local sudo] Password: PYTHONPATH=/usr/lib/python3/dist-packages -- /usr/bin/python3 /usr/bin/sshuttle --method auto --firewall

So I try to replace /usr/bin/python /usr/share/sshuttle/main.py /usr/bin/python -v --firewall 12300 0 with my case PYTHONPATH=/usr/lib/python3/dist-packages -- /usr/bin/python3 /usr/bin/sshuttle --method auto --firewall, when finish the edition, visudo says my gramma is wrong, what's my mistakes and how to get the things done?