[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#421837: root-less setup for kde, xfce

On Thu, May 03, 2007 at 09:49:50AM +0200, Emanuele Rocca wrote:
> ----- Forwarded message from Joey Hess <joeyh@debian.org> -----
> From: Joey Hess <joeyh@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@debian.org>, 421837@bugs.debian.org
> To: Debian Bug Tracking System <submit@bugs.debian.org>
> Message-ID: <[🔎] 20070501211434.GA3819@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.

thunar uses hal voodoo for mounting random filesystems etc (via
exo-mount) so that bit is taken care of.

Xfce isn't quite as together as Gnome and KDE so there's no gksu
equivalent for it.

If we think of anything else we'll follow up here.

Simon Huggins  \ "Just wait. My crystal ball is infallible." -- Linus
http://www.earth.li/~huggie/                                htag.pl 0.0.22

Reply to: