Hacker News new | ask | show | jobs
by vorakl 756 days ago
I don't recall ever seeing this approach with sudo. Is it really becoming popular? It used to be just bash, e.g. `curl ... | bash`. But now there is nothing stopping you from putting sudo in that bash script and expecting with a high probability that NOPASSWD: is also there ;)
1 comments

Indeed, if you preface the curl | bash with sudo apt install, there's no difference!