Autor: adrelanos Data: Para: The Tails public development discussion list Asunto: [Tails-dev] /usr/local/sbin/htpdate suggestion
Hi,
In /usr/local/sbin/htpdate, please change
my @cmdline = ('curl', @curl_options, $url);
to
my @cmdline = ('/usr/bin/curl', @curl_options, $url);
Reasons:
- Most scripts hardcode the paths.
- It's safer, since /usr/local/sbin/htpdate starts curl as root.
- If you ever add a curl uwt wrapper, you will still want to use
/usr/bin/curl directly, since you are using --socks5-hostname there.