E
E
elisey4742017-01-08 21:54:57
linux
elisey474, 2017-01-08 21:54:57

Why doesn't the program work in ubuntu?

Ubuntu 14.04 There is a program called sshuttle. If you run it from the root console with the sshuttle -r [email protected] 0.0.0.0/0 -v -x localsubnet/24 ​​-D command, then it works. And if you run it from a bash script launched via cron as root, then the program does not start.
Why?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2017-01-08
@Rsa97

When starting from crontab, you must either write the full paths to the programs, or write all the paths to the PATH variable.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question