[Pkg-xfce-devel] Re: Bug#421837: root-less setup for kde, xfce

Mathias Brodala info at noctus.net
Thu May 3 13:32:52 UTC 2007


Hi Simon.

Sorry to nag again, but …

Simon Huggins, 03.05.2007 10:43:
> On Thu, May 03, 2007 at 09:49:50AM +0200, Emanuele Rocca wrote:
>> ----- Forwarded message from Joey Hess <joeyh at debian.org> -----
>> From: Joey Hess <joeyh at debian.org>
>> Date: Tue, 1 May 2007 17:14:34 -0400
>> Subject: Bug#421837: root-less setup for kde, xfce
>> Reply-To: Joey Hess <joeyh at debian.org>, 421837 at bugs.debian.org
>> To: Debian Bug Tracking System <submit at bugs.debian.org>
>> Message-ID: <20070501211434.GA3819 at kitenet.net>
>> User-Agent: Mutt/1.5.13 (2006-08-11)
> 
>> user-setup has code to configure gnome to use sudo, if the system has no
>> root password, but is missing equivilant setups for kde and xfce. I
>> assume that both of these need special configs to use sudo for obtaining
>> root.
> 
> That code should work for us.  xfce4-session will prompt for the
> password when you try to reboot/shutdown so the:
> 	echo "$USER ALL=(ALL) ALL" >> $ROOT/etc/sudoers
> bit will suffice.

… isn’t this overkill? The following should be enough for this and doesn’t
introduce any other side-effects:

$USER  ALL=NOPASSWD:/usr/sbin/xfsm-shutdown-helper

Um, and what is $ROOT?


Regards, Mathias

-- 
debian/rules

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20070503/32a3a200/signature.pgp


More information about the Pkg-xfce-devel mailing list