On Fri, Jan 21, 2005 at 02:04:43PM +0100, Micha�l Houz� wrote:
> Add user to shutdown.allow is not enough to be able to shudown/reboot
> the computer, xfce4-session must have setuid root bit set, as in the
> code, there is :

> if (geteuid() == 0) {

>    do everything ...
> }

> Another way is to remove this check to have non setuid root executable.

Sorry you're right it won't need to be in shutdown.allow.

Reading the code I can't see how it could fail if you've got sudo setup
correctly.

If this doesn't work for you can you let me know what the sudo setup is
that you have?

Simon.

-- 
Just another wannabie |    "Somebody's poisoned the    |  Just another fool
----------------------+          waterhole!"           +-------------------
This message was brought to you by the letter I and the number  3.
htag.pl 0.0.22 -- http://www.earth.li/projectpurple/progs/htag.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to