Same bug with Linux Mint 13 and with Debian 6.0.5 (Xfce) that gives: « johan@johan-backup:~$ gksu -d -u administrateur thunar No ask_pass set, using default! xauth: /tmp/libgksu-8s2a0j/.Xauthority STARTUP_ID: gksu/gdmsetup/3144-0-johan-backup_TIME0 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]: gdmsetup buffer: -GNOME_SUDO_PASS- brute force GNOME_SUDO_PASS ended... Yeah, we're in... xauth: /tmp/libgksu-8s2a0j/.Xauthority xauth_env: /home/johan/.Xauthority dir: /tmp/libgksu-8s2a0j
(gksu:3144): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed » -- BUT -- It seems to be a sudo bug or limitation, when looking at this bug report: https://savannah.nongnu.org/bugs/?24318 I cite the answer: « Please note that the temporary xauth file is created with working permissions with the su backend (gksu -w). gksu -w -u firefoxuser firefox That workaround does not provide the configurability of sudo, though. So a fix for sudo would be much appreceated. » So I tried using the not-always-well documented "-w" option (aka "--su-mode"; see 'man gksu') and it works, both on the last Debian (6.0.5) and Ubuntu (12.04)... AND "sudo -u user command" (gksu calls "sudo" by default, exactly same as gksudo) doesn't seem to match the philosophy of calling a program using sudo privileges of another user... By the way, with some programs (such as the small optional "system-config-samba") that works only when calling directly the root user ("gksu -w -u root system-config-samba")... ** Bug watch added: Non-GNU Savannah Bug Tracker #24318 http://savannah.nongnu.org/bugs/?24318 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/949265 Title: GKSU says my password is wrong To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gksu/+bug/949265/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
