Passing this parameter will download the specified URLs and execute them via sudo(8) using sh(1), saving countless keystrokes when installing modern software.
For example:
$ curl –rootme https://people.debian.org/~lamby/install.sh
Is equivalent to:
$ curl -qs https://people.debian.org/~lamby/install.sh | sudo sh -
Errors that occur when executing sudo(8) are marked with new CURLE_ROOTME internal error code (94), otherwise we wrap the return code of the executed script itself.
What about security?