[Bug 180515] Re: Can't kill or abandon a gksudo session

2009-11-27 Thread jtniehof
gksudo uses the same timestamp file as sudo, so sudo -k (or -K) will
also kill a gksudo authentication.

However, the memory is per tty, so opening a terminal and doing sudo
-k will not forget the authentication one provided from e.g. running
Synaptic from the menu. The key is to run sudo -k without opening a
terminal: either add the Run Application... button to the panel and
use that to run sudo -k (leave run in terminal unchecked), or do Add
to Panel, Custom Application Launcher and put sudo -k as the command.

Unfortunately there's no easy facility for running a script on logout
from Gnome, but recall that once you've logged out, someone would need
to enter your password to log in anyhow.

Since this is functioning as designed, I'm closing this bug.

** Changed in: gksu (Ubuntu)
   Status: New = Invalid

-- 
Can't kill or abandon a gksudo session
https://bugs.launchpad.net/bugs/180515
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 180515] Re: Can't kill or abandon a gksudo session

2008-09-04 Thread Jordan Erickson
I just realized this as well, after running gksudo gconf-editor,
logging out of Gnome, logging back in, and running the same command - it
didn't re-prompt me for my password.

I'd say this is a security flaw, as you would expect to drop sudo
privileges after logging out (just think if you were on a public
terminal with a common user).

-- 
Can't kill or abandon a gksudo session
https://bugs.launchpad.net/bugs/180515
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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