how can i make restart not require root password

poma pomidorabelisima at gmail.com
Thu Sep 5 01:13:35 UTC 2013


On 05.09.2013 02:52, Joe Zeff wrote:
> On 09/04/2013 05:44 PM, Suvayu Ali wrote:
>> I don't think sudo works from a menu, you need gksudo or ksudo for that.
>> That said, sudo is a hammer compared to polkit.  For example, polkit can
>> restrict allowed actions to a user present at the physical terminal (as
>> the OP wanted), I don't think sudo can do that.
> 
> Fedora comes with beesu and things such as yumex use it.  Of course, you
> could always just turn on the suid bit on the executable, but I'd leave
> it as a last resort, especially as you'd have to do it again any time
> the file gets updated.

You drive Fedora on old fashioned way.
Welcome to the present.

https://lists.fedoraproject.org/pipermail/users/2013-August/440106.html
…
/etc/polkit-1/rules.d/50-dk.yumex.backend.pkexec.run.rules

$ rpm -ql yumex | grep policy


poma




More information about the users mailing list