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

Bug#382670: debian-installer: Sudo not properly configured



On 8/14/06, Andre Luis Lopes <andrelop@debian.org> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joey Hess wrote:
> Joseph Smidt wrote:
>>   I choose to go the sudo route.  Everything works fine on the command
>> line, i.e. I can't login as root and sudo works with the password I gave
>> it.  But none of the gui admin applications work without root.
>> Example, I try to use synaptic my sudo password doesn't work.  When I
>> tried to change the time the sudo password didn't work. Etc..
>
> Stratus, do you know if there's some gnome tool that let's the user run
> programs like these as root using sudo? Does tasksel omit installing it?
>

   Maybe gksu ? Here's what I have in my
/usr/share/applications/synaptic.desktop (which is a standard file, ie,
not changed by me) :

Andre is right, there's gksu and AFAIK the GNOME desktop task should
push it as it's a dependency for stuff like gdebi, update-notifier and
others.

Exec=gksu -u root /usr/sbin/synaptic

   This way when I click on GNOME's menu shortcut to run Synaptic
(GNOME's frontend to APT), gksu is show and ask me for my root password
before launching Synaptic as root.

Right, just would like to point out this is the default behaviour in the menus.

If it isn't a bug in gksu or gksu configuration, i don't know where
the problem is. I'll check with the beta3 installer. Do i need to
install through the expert mode to use sudo, right?

regards,
-- stratus



Reply to: