When I've just run sudo
, and don't want it to remain active for the normal duration of its time-out, how can I cancel that remaining active time-out?
sudo -k
kills it for the current terminal session, but if a process is currently running in that session and so can't run sudo -k
, is there a way to cancel it from another terminal session?
And is there a way to cancel all currently applied sudo
times (for all terminal sessions, and all gksudo running apps, etc?
Although, come to think of it, a running GUI may simply need to be shut down, but I just checked that Alt+F2 keeps gksu active for subsequent invocations.