*** This bug is a duplicate of bug 50971 *** Yes, 'sudo -k' and 'sudo -K' should (and do) also remove the problem, if done on the right pseudo-terminal. -- kdesu fails when invoked immediately after sudo from terminal https://launchpad.net/bugs/72545