Recommend that users launch Adept with kdesudo

Bug #203331 reported by Andreas Braml
6
Affects Status Importance Assigned to Milestone
Adept Manager
Fix Released
Wishlist
adept (Ubuntu)
Fix Released
High
Jonathan Thomas

Bug Description

When logged in as non-root user under non-KDE (e.g. GNOME, Fluxbox or in a Failsafe X session), running 'sudo adept_updater' or 'sudo adept_manager' sets the group/user id of .ICEauthority in said user's /home to 'root'. So the next graphical login fails.

The system is Hardy Heron on i386, last updated 2008-03-19, 12:00 UTC

description: updated
Revision history for this message
Andreas Braml (a-strich-b) wrote : Re: Hardy: Running sudo adept_updater / adept_manager etc. under non-KDE sets group/user of .ICEauthority to 'root'
Revision history for this message
Andreas Braml (a-strich-b) wrote :

The bug does not show when using gksudo/kdesudo instead of plain sudo

Revision history for this message
Andreas Braml (a-strich-b) wrote :

This bug still occurs on 8.04 Release with updates as of 2008-05-11

Revision history for this message
kko (kko) wrote :

Does running it with 'sudo -i adept_manager' prevent the problem?

Revision history for this message
Andreas Braml (a-strich-b) wrote :

No. It doesn't even work. I get:

/usr/bin/adept_manager: /usr/bin/adept_manager: cannot execute binary file

Revision history for this message
kko (kko) wrote :

Ah, sorry about that, my mistake, I should've checked before posting my comment.

I am not fully aware of all the reasons, but "the correct practice" is indeed to use the graphical sudoes (gksudo or kdesudo) to launch graphical programs. Hence, I don't know if this will be considered a bug, or whether this could be prevented by adept.

Revision history for this message
Andreas Braml (a-strich-b) wrote :

OK, I know about the gksudo/kdesudo recommendation. And I wouldn't have written this bug report if the consequences of using plain sudo instead were adept_* erroring out or something like that. But being prevented from graphical login altogether is more than just a minor annoyance. How many novice Kubuntu users that just want to try out Gnome (where this unexpected behaviour shows up, too) are expected to know that there even is a .ICEauthority (which doesn't even show up in the graphical file managers in their default configuration)?

Revision history for this message
Andreas Braml (a-strich-b) wrote :

I just read the release notes for Adept 3.0 alpha 5 on the blog of the application's developer:

[quote]
If you have sudo (Kubuntu-ers do, the rest can use kdesu or similar):
sudo adept
sudo adept installer
sudo adept updater
[/quote]

So much for [gk|kde]sudo... ;-)

Revision history for this message
kko (kko) wrote :

"expected to know that there even is a .ICEauthority"

I agree with you, this is a valid point.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

We should patch adept to recommend kdesudo.

Changed in adept:
importance: Undecided → High
status: New → Triaged
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Would actually make sense for this change to be made upstream, so I forwarded the bug report.

Changed in adeptmgr:
status: Unknown → New
Revision history for this message
Jonathan Thomas (echidnaman) wrote :
Changed in adept:
assignee: nobody → echidnaman
milestone: none → ubuntu-8.10
status: Triaged → In Progress
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Here's a better one.

Changed in adeptmgr:
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package adept - 3.0~beta2ubuntu5

---------------
adept (3.0~beta2ubuntu5) intrepid; urgency=low

  [ Harald Sitter ]
  * Use better icon

  [ Jonathan Thomas ]
  * Recommend kdesudo, Closes LP: #203331

 -- Jonathan Riddell <email address hidden> Tue, 14 Oct 2008 12:07:13 +0100

Changed in adept:
status: In Progress → Fix Released
Changed in adeptmgr:
status: Confirmed → Fix Released
Changed in adeptmgr:
importance: Unknown → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Patches

Remote bug watches

Bug watches keep track of this bug in other bug trackers.