Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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 ;)


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: