gksudo -u $USER id # does not refresh groups, unlike sudo -u $USER id
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gksu (Ubuntu) |
New
|
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=
$ gksudo -u $USER id
uid=1000(user) gid=1000(user) groups=
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
ProcVersionSign
Uname: Linux 2.6.35-25-generic x86_64
NonfreeKernelMo
Architecture: amd64
CheckboxSubmission: 7b44b94229fa777
CheckboxSystem: edda5d4f616ca79
Date: Sun Feb 20 12:34:55 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
SourcePackage: gksu