BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] memory management
- Subject: [Discuss] memory management
- From: invalid at pizzashack.org (Derek Martin)
- Date: Thu, 25 Jun 2015 14:32:24 -0500
- In-reply-to: <CAJFsZ=qVaDpA0bbGjKy31Zd-Ws=FZ8QwuLN-KK71Xp23DWm9Cg@mail.gmail.com>
- References: <558420D5.6090803@mattgillen.net> <55858DB0.4080709@mattgillen.net> <li6egl6t9pp.fsf@panix5.panix.com> <55863B7B.6020409@mattgillen.net> <55869BA6.4020709@blu.org> <CAJFsZ=qVaDpA0bbGjKy31Zd-Ws=FZ8QwuLN-KK71Xp23DWm9Cg@mail.gmail.com>
On Sun, Jun 21, 2015 at 03:18:03PM +0200, Bill Bogstad wrote: > On Sun, Jun 21, 2015 at 1:10 PM, Jerry Feldman <gaf at blu.org> wrote: > I'm curious though, how this other user account gains access to your > X server. Allowing other user ids to write on your screen/capture > key & mouse events seem to me to be a potential issue. Only if someone else can log in as that user. It's been my experience that I didn't need to fix display access, but maybe it's because typically I'm switching to root. But if you need to, it's not hard... just arcane. $ xauth list myhost/unix:0 MIT-MAGIC-COOKIE-1 <cookie_value> Then: 1. su - other 2. make sure XAUTHORITY is not left over from your original UID: $ export XAUTHORITY=/home/other/.Xauthority # or whatever 3. make sure that file exists $ touch /home/other/.Xauthority 4. add the cookie you got from your original UID $ xauth add myhost/unix:0 MIT-MAGIC-COOKIE-1 <cookie_value> Should now work fine, without allowing access to anyone else on the box. Just tested it in my Ubuntu VM, closed WORKSFORME. ;-) -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0xDFBEAD02 -=-=-=-=- This message is posted from an invalid address. Replying to it will result in undeliverable mail due to spam prevention. Sorry for the inconvenience.
- Follow-Ups:
- [Discuss] memory management
- From: smallm at SDF.ORG (Mike Small)
- [Discuss] memory management
- References:
- [Discuss] memory management
- From: me at mattgillen.net (Matthew Gillen)
- [Discuss] memory management
- From: me at mattgillen.net (Matthew Gillen)
- [Discuss] memory management
- From: smallm at panix.com (Mike Small)
- [Discuss] memory management
- From: me at mattgillen.net (Matthew Gillen)
- [Discuss] memory management
- From: gaf at blu.org (Jerry Feldman)
- [Discuss] memory management
- From: bogstad at pobox.com (Bill Bogstad)
- [Discuss] memory management
- Prev by Date: [Discuss] memory management
- Next by Date: [Discuss] memory management
- Previous by thread: [Discuss] memory management
- Next by thread: [Discuss] memory management
- Index(es):