tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Enrique Sanchez Vivar <evivar () lamport ! rhon ! itam ! mx>
To: tru64-unix-managers
Subject: SUMMARY: Restricting remote X Access
Date: Fri, 07 Jul 1995 20:02:53 +0000	[thread overview]
Message-ID: <96075321606445.tru64-unix-managers.marc@archive.invalid> (raw)

SUMMARY: Restricting remote X access.

My original question:
>                                                                               
>  What can I do to restrict remote X sessions (started with rexec or xdm 
)?    
>  Is it something similar to the hosts.equiv file and 
.rhosts?                 
>                                                                           

Answer:
There are several approaches:
1. Using xhost. This program is used to add/delete host names to the list 
of hosts allowed to make connections to the X server.
2. Xaccess. This file is in /usr/bin/X11/xdm/Xaccess
                           (/usr/var/X11/xdm or /usr/lib/X11/xdm )
 THis file provides information that xdm uses to control access from displays 
requesting XDMCP service. The whole stuff can be found in the man pages
in the XDMCP ACCESS CONTROL section.
3. the MIT-MAGIC-COOKIE-1 scheme.
There is a file (normally $HOME/.Xauthority) called the magic cookie.
Only people with read access to the magic cookie can get to your 
display. This file should be kept safe.      
4. Using the C2 security
Olny the IP addresses declared in:
/var/auth/system/devassign           
and  /var/auth/system/ttys 
may open an X Session.          


Thanks to everyone who replied:
MArtin J. Moore
Mike Mathews
Dave Warren
Rob Lembree
Knut Helleboe
Pillaiyar Thanigasalam  
Kevin Walters
stephane Branchoux
Simon Greaves

                 reply	other threads:[~1995-07-07 20:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox