That's not the way it used to work in Hoary and Breezy : if you wanted to start a program as userB you had to enter userB password.
Note that when you are asked for a password it is written (translating) : Please enter your password to start "application X" as userB. -- gksuexec doesn't work in dapper ! https://launchpad.net/bugs/47388 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs