|
|
|
|
|
by illumen
3686 days ago
|
|
Wow. That's a backdoor. Trying to install stuff without the users permission, and using sudo without the users intent is really not right. How can we trust this if they do such things? It looks like it is running a sudo command with a python script with scripts under a non-root user. This means that anyone who can write data to that non-root user folder can then run things as root. ie. I can drop in a .py file and execute whatever code I want. Code run with sudo should not allow this. |
|
That all said, it's still bad form to `apt-get -y` when run with a `--help` flag. Particularly with the `-y flag`. Even if you trust LetsEncrypt (and most of us would), it's still unexpected / non-idiomatic behavior and the `-y` flag means users don't get much time to cancel the operation should any output concern them.