how can i make restart not require root password

Suvayu Ali fatkasuvayu+linux at gmail.com
Thu Sep 5 01:47:14 UTC 2013


On Wed, Sep 04, 2013 at 05:52:59PM -0700, 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 just mentioned things that one should not do, specially on a system
where curious students are bound to fool around.

-- 
Suvayu

Open source is the future. It sets us free.


More information about the users mailing list