gksudo -u $USER id # does not refresh groups, unlike sudo -u $USER id

Bug #722101 reported by Tuomas Heino
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gksu (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: gksu

On a system with freshly added groups sudo works as expected, while gksudo doesn't add new groups:
$ sudo -u $USER id
uid=1000(user) gid=1000(user) groups=1000(user),4(adm),20(dialout),24(cdrom),46(plugdev),111(lpadmin),119(admin),122(sambashare),128(libvirtd)
$ gksudo -u $USER id
uid=1000(user) gid=1000(user) groups=1000(user),4(adm),20(dialout),24(cdrom),46(plugdev),111(lpadmin),119(admin),122(sambashare)

For the particular use case of sudoing to same user, gksudo does not really add much functionality beyond plain sudo; as such this bug should be considered to be a low-priority wishlist item. Return codes exhibit the behaviour mentioned in LP: #470747, but that seems to be an unrelated issue.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gksu 2.0.2-2ubuntu3
ProcVersionSignature: Ubuntu 2.6.35-25.44-generic 2.6.35.10
Uname: Linux 2.6.35-25-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
CheckboxSubmission: 7b44b94229fa7778a195996df229710e
CheckboxSystem: edda5d4f616ca792bf437989cb597002
Date: Sun Feb 20 12:34:55 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
SourcePackage: gksu

Revision history for this message
Tuomas Heino (iheino+ub) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers