X authenication (was: Another reason to prefer a real root over sudo)
On Mon, 2 Feb 2009, Chris G wrote:
> X authentication prevents it.
The rightful owner of this desktop login might get upset if somebody else
started a key-stroke logger that connected to *their* desktop session.
X authenication stops that unless you have the right key ("Cookie").
(If you're interested, a proper 'gksudo' innvocation, authenciated by the
current desktop used makes a copy of the .Xauthority key and sets
"XAUTHORITY=/tmp/libgksu-??????/.Xauthority" to point to it. You can do
just the same manually [with the permission of the user who's desktop
session you are hijacking/"wanting to share temporaily"]).
Why do one side of a triangle when you can do all three. Somewhere, GB.
ubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users