Public bug reported:

If I allow my user account to run sudo /usr/bin/update-manager with no
password required, by changing /etc/sudoers like this:

  myusername ALL=(ALL) ALL, NOPASSWD:/usr/bin/update-manager

then I cannot actually use it.  In Dapper, clicking on the "updates
available" icon used to do nothing.  In Edgy, it starts update-manager
without root privileges, and then the "Install updates" button does
nothing.  If I try it in a terminal, I get this:

$ gksu /usr/bin/update-manager 
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

/var/lib/python-support/python2.4/gtk-2.0/gtk/__init__.py:69: GtkWarning: could 
not open display
[... a bunch of other errors, and I get the terminal prompt back ...]

** Affects: gksu (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
gksu breaks X apps when /etc/sudoers has NOPASSWORD:
https://launchpad.net/bugs/66328

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to