#@(#)$Revision: 1.4 $	$Date: 92/09/04 14:21:14 $
######################################################################
#
#   Xaccess
#
#   Access control file for XDMCP connections
#
######################################################################
#
#   This file contains a list of host names which are allowed or
#   denied XDMCP connection access to this machine.  When a remote
#   display (typically an X-terminal) requests login service, xdm
#   will consult this file to determine if service should be granted
#   or denied, and which type of service to supply.
#
#   Information regarding the format of entries in this file is
#   included at the end of the file.
#   
######################################################################

#   Entries...

*				# any X display can get a login window

*	CHOOSER BROADCAST	# any indirect queries will get a
				# list of all possible session managers


######################################################################
#
#			   ENTRY FORMAT
#
#   Blank lines are ignored, `#' is treated as a comment delimiter
#   causing the rest of that line to be ignored,
#
###
### Direct and Broadcast Access:
###
#
#	display
#
#   This tells xdm which displays to respond to itself.
#   eg.
#	!xtra.lcs.mit.edu  # disallow direct/broadcast service for xtra
#	bambi.ogi.edu      # allow direct/broadcast service for bambi
#	*.lcs.mit.edu      # allow access from any display in LCS
#
###
### Indirect Queries:
###
#
# 	display	CHOOSER	list of hostnames and/or macros or BROADCAST
#
#   This tells xdm to forward indirect queries from displays matching
#   the specified display pattern to the indicated list of hosts.
#   xdm will invoke the "chooser" client which displays a list
#   of hosts from this list that are willing to manage this display.
#   The user can then pick which host he wants to be his session manager.
#   Specifying BROADCAST instead of a host list, tells xdm to
#   query all possible session managers on behalf of the display.
#   eg.
#	george	CHOOSER	symphony concerto
#		# forward indirect queries from X terminal george
#		# to hosts symphony and concerto
#	%engineering	hardware software qa
#		# macro for host list of engineering computers
#	xterm?	CHOOSER %engineering
#		# forward indirect queries from xterm1 thru xterm9
#		# to the list of engineering computers
#	*	CHOOSER BROADCAST
#		# everybody else gets a list of
#		# all possible session managers
#
###
### Bypassing Login
###
#	display	BYPASS_LOGIN	username
#
#   This tells xdm to do an automatic login as the specified user,
#   whenever it gets a direct XDCMP request from that display.
#   No login screen is displayed and no password is required.
#   This enables an X terminal to start running an application
#   immediately after being turned on with no user intervention required.
#
#   NOTE: Use of this feature can compromise the security of your system.
#	Make sure that the specified username has a $HOME/.xsession
#	script that executes only the application you want to run,
#	and that the application can not break out to a shell.
#   eg.
#	shop	BYPASS_LOGIN	viewer
#		# X terminal "shop" will automatically run
#		# /users/viewer/.xsession after power up
#
###
### Display Pattern Format
###
#   A display entry in this file is either a host name or a pattern.  A
#   pattern may contain one or more meta characters which are compared
#   against the host name of the remote device requesting service.
#
#   `*' matches any sequence of 0 or more characters
#   `?'  matches any single character
#
#   If the entry is a host name, all comparisons are done using
#   network addresses, so any name which converts to the correct
#   network address may be used.  For patterns, only canonical host
#   names are used in the comparison, so do not attempt to match
#   aliases.
#
#   Preceding either a host name or a pattern with a `!'  character
#   causes hosts which match that entry to be excluded.
#
#   When checking access for a particular display host, each entry is
#   scanned in turn and the first matching entry determines the
#   response.
#
###
### Macro format
###
#   To define macros:
#
#       %name		list of hosts ...
#
#   eg.
#	%engineering	hardware software qa
#		# macro for host list of engineering computers
#
######################################################################

