Here it is. We have sudo, and we have user user. How to make it so that when entering, for example sudo firefox , we need to enter the password not root, but root?

In fact, is it possible to configure sudo to work like su -c ? Nowhere in the network did not find a solution. man didn't help either.

1 answer 1

In /etc/sudoers insert the Defaults rootpw . sudo will now ask for the root password.