Yelp/kafka-utils

sudo without NOPASSWD into sudoers

Opened this issue · 1 comments

Hi,

I tried to configure kafka-utils for rolling restart, but it stucked because when it executes sudo, there is a prompt for password (internally). I only was able to configure adding NOPASSWD for systemctl into sudoers

Is there any way to work without adding NOPASSWD into sudoers?

Hi @dinegri , not that I know of, but you are welcome to submit a patch if you get an idea!