Root authentication persists through GNOME logins

Matt Zimmerman mdz at
Sat Nov 27 21:43:53 CST 2004

On Fri, Nov 26, 2004 at 01:55:28PM -0500, Eric Dunbar wrote:

> It seems that root authentication persists (for a short period)
> through a logout-login cycle in GNOME.
> e.g. I'll fire up Synaptic, enter the password to access it. Logout,
> promptly log back in, fire up Synaptic again and I'm not prompted for
> a password the second time around.

This is a somewhat surprising side effect of the fact that sudo doesn't know
anything about GNOME or X, but it doesn't strike me as particularly

It would be easy to remedy by arranging for "sudo -k" to be run during the
logout sequence.  If that's easy, we should probably just do it.

 - mdz

More information about the ubuntu-devel mailing list