pkg icon indicating copy to clipboard operation
pkg copied to clipboard

AllowRoot setting to control if a cli is allowed to run as root

Open montaguethomas opened this issue 5 years ago • 1 comments

Adds new AllowRoot boolean setting to control if an implementation of cli App is allowed to run as UID 0 (root). Defaults to false.


This change is Reviewable

montaguethomas avatar Sep 10 '20 17:09 montaguethomas

@bmoylan I could see value in this as serving as a more general upstream implementation of the solution that was merged to the internal spawning daemon (since it uses this library so could just change its current implementation to using this feature)

gregakinman avatar Sep 21 '20 21:09 gregakinman