Re: how can i make restart not require root password

2013-09-04 Thread Joe Zeff
On 09/04/2013 06:47 PM, Suvayu Ali wrote: You just mentioned things that one should not do, specially on a system where curious students are bound to fool around. Mentioning the suid bit was just, for me, a matter of being complete. Using besu (Not beesu, as I wrote.) will work if you've set s

Re: how can i make restart not require root password

2013-09-04 Thread Suvayu Ali
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

Re: how can i make restart not require root password

2013-09-04 Thread poma
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 term

Re: how can i make restart not require root password

2013-09-04 Thread Joe Zeff
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 ca

Re: how can i make restart not require root password

2013-09-04 Thread Suvayu Ali
On Wed, Sep 04, 2013 at 12:31:46PM -0400, Bill Davidsen wrote: > Jehan Procaccia wrote: > >Le 04/09/2013 17:08, Bill Davidsen a écrit : > >> > >>3 - However, if it is your intention to let any user reboot at any time, > >>use visudo to add a line: > >> %bootersALL=(ALL) NOPASSWD: /sb

Re: how can i make restart not require root password

2013-09-04 Thread poma
On 04.09.2013 17:55, Jehan Procaccia wrote: … > however, it is confusing those two "items" > consolekit.system.restart-multiple-users and > login1.reboot-multiple-sessions, what is the difference between them ? $ repoquery --whatprovides */org.freedesktop.consolekit.policy $ repoquery --repoid=upd

Re: how can i make restart not require root password

2013-09-04 Thread Bill Davidsen
Jehan Procaccia wrote: Le 04/09/2013 17:08, Bill Davidsen a écrit : Jehan PROCACCIA wrote: hello, I've got hundred of fedora19 station installed on computer lab for our students. these are self service multi-user stations, users needs to restart the station whenever they want to unfortunatly

Re: how can i make restart not require root password

2013-09-04 Thread Jehan Procaccia
Le 04/09/2013 17:08, Bill Davidsen a écrit : Jehan PROCACCIA wrote: hello, I've got hundred of fedora19 station installed on computer lab for our students. these are self service multi-user stations, users needs to restart the station whenever they want to unfortunatly apparently "polkit" pre

Re: how can i make restart not require root password

2013-09-04 Thread Jehan Procaccia
Le 04/09/2013 11:38, Ahmad Samir a écrit : On 4 September 2013 11:02, Jehan PROCACCIA > wrote: hello, I've got hundred of fedora19 station installed on computer lab for our students. these are self service multi-user stations, users needs to res

Re: how can i make restart not require root password

2013-09-04 Thread Bill Davidsen
Jehan PROCACCIA wrote: hello, I've got hundred of fedora19 station installed on computer lab for our students. these are self service multi-user stations, users needs to restart the station whenever they want to unfortunatly apparently "polkit" prevents them to restart when another user is (or ha

Re: how can i make restart not require root password

2013-09-04 Thread Ahmad Samir
On 4 September 2013 11:02, Jehan PROCACCIA wrote: > hello, > I've got hundred of fedora19 station installed on computer lab for our > students. > these are self service multi-user stations, users needs to restart the > station whenever they want to > unfortunatly apparently "polkit" prevents them

how can i make restart not require root password

2013-09-04 Thread Jehan PROCACCIA
hello, I've got hundred of fedora19 station installed on computer lab for our students. these are self service multi-user stations, users needs to restart the station whenever they want to unfortunatly apparently "polkit" prevents them to restart when another user is (or had been ?) connected