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

Bug#485655: debian-installer: The KDE images should use sudo too and configure KDE accordingly.



tags 485655 help
reassign 485655 user-setup
thanks

On Tuesday 10 June 2008, Didier Raboud wrote:
> I think that the KDE CD images should install and configure sudo as the
> Gnome images do.

KDE images _do_ install and configure sudo exactly the same as the regular 
CD does if that option is selected in user-setup (as you can see if you 
use sudo from konsole).

> Additionnally, it should configure KDE to use it correctly.

This is probably what is currently lacking: automatically using sudo for 
KDE administration tasks.
This is what the installer does for GNOME (note that it does not directly 
change any configuration files, which is not allowed by policy):

# Configure gksu to use sudo, via an alternative, if it's
# installed and the alternative is registered.
if $chroot $ROOT update-alternatives --display libgksu-gconf-defaults
   >/dev/null 2>&1; then
	$log $chroot $ROOT update-alternatives \
		--set libgksu-gconf-defaults \
		/usr/share/libgksu/debian/gconf-defaults.libgksu-sudo
	$log $chroot $ROOT update-gconf-defaults
fi

If something similar is possible for KDE, then please let us know what the 
correct commands would be. Basically that info has to come from KDE 
users/developers.

I also suspect this problem may already have been resolved for kubuntu, so 
if someone could check what is done there and tell us, that could work as 
well. However, I don't see any change in Ubuntu's version of 
user-setup-udeb for this.

Cheers,
FJP



Reply to: