Sudo / Gksudo : calling for testers !
jrl at ids.org.au
Wed Jul 20 13:37:22 UTC 2005
On Wed, 2005-07-20 at 14:51 +0200, Vincent Trouilliez wrote:
> Ah, THAT is very interesting ! :-)
> You are right, calling gksudo from the command line seems to pick-up
> sudo's time stamp. So why doesn't it work when you call Synaptic etc,
> from their icon in the Gnome menu ? The devs must know, hope they can
> fix it...
As Dennis Kaarsemaker mentioned tty_tickets is turned on by default
in /etc/sudoers. This means that the timestamps are not shared between
different pseudo-terminals (ptys).
When you use gksudo from a terminal that has run sudo, they are on the
same pty and hence share the timestamp. If you run sudo from two
different ptys (try two different gnome-terminal windows/tabs) they
won't share the timestamp.
You can remove tty_tickets from /etc/sudosers, which will make it share
the timestamp between terminals.
James "Doc" Livingston
"Give a man a match and he's warm for a day. Set a man on fire and he's
warm for the rest of his life." -- Terry Pratchett.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the ubuntu-users