Comment 8 for bug 949265

Revision history for this message
Johan (pindle) wrote :

Hi everyone,

Is this bug solved? I've juste upgraded from 11.10 to 12.04 and neither gksu nor gksudo work with the option --user: both always answer that selected user password is wrong though this user belongs to sudo group.

An example:
Session opened with user "johan" that doesn't belong to sudo group and a try to open Thunar with user "administrateur" (member of the sudo group):

johan@johan-backup:~$ gksu -d -u administrateur thunar
No ask_pass set, using default!
xauth: /tmp/libgksu-KKWb4O/.Xauthority
STARTUP_ID: gksu/thunar/3548-0-johan-backup_TIME2551651
cmd[0]: /usr/bin/sudo
cmd[1]: -H
cmd[2]: -S
cmd[3]: -p
cmd[4]: GNOME_SUDO_PASS
cmd[5]: -u
cmd[6]: administrateur
cmd[7]: --
cmd[8]: thunar
buffer: -GNOME_SUDO_PASS-
brute force GNOME_SUDO_PASS ended...
Yeah, we're in...
xauth: /tmp/libgksu-KKWb4O/.Xauthority
xauth_env: /home/johan/.Xauthority
dir: /tmp/libgksu-KKWb4O
No ask_pass set, using default!
xauth: /tmp/libgksu-mDF1RN/.Xauthority
cmd[0]: /usr/bin/sudo
cmd[1]: -H
cmd[2]: -S
cmd[3]: -p
cmd[4]: GNOME_SUDO_PASS
cmd[5]: -u
cmd[6]: administrateur
cmd[7]: --
cmd[8]: thunar
buffer: -GNOME_SUDO_PASS-
brute force GNOME_SUDO_PASS ended...
Yeah, we're in...
xauth: /tmp/libgksu-mDF1RN/.Xauthority
xauth_env: /home/johan/.Xauthority
dir: /tmp/libgksu-mDF1RN
No ask_pass set, using default!
xauth: /tmp/libgksu-s1ID6U/.Xauthority
cmd[0]: /usr/bin/sudo
cmd[1]: -H
cmd[2]: -S
cmd[3]: -p
cmd[4]: GNOME_SUDO_PASS
cmd[5]: -u
cmd[6]: administrateur
cmd[7]: --
cmd[8]: thunar
buffer: -GNOME_SUDO_PASS-
brute force GNOME_SUDO_PASS ended...
Yeah, we're in...
xauth: /tmp/libgksu-s1ID6U/.Xauthority
xauth_env: /home/johan/.Xauthority
dir: /tmp/libgksu-s1ID6U
johan@johan-backup:~$

3 password trials and that always fails with "Wrong password".

Distro:
Xubuntu 12.04 Precise x86_64

GKsu version 2.0.2

All packages are up to date

uname -a:
Linux johan-backup 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -a:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise

Regards,
Johan