4 |
- |
1 |
# $XdotOrg: Xaccess,v 1.3 2000/08/17 19:54:17 cpqbld Exp $
|
|
|
2 |
# $Xorg: Xaccess,v 1.3 2000/08/17 19:54:17 cpqbld Exp $
|
|
|
3 |
# $XFree86: xc/programs/xdm/config/Xaccess,v 1.4 2003/07/09 15:27:40 tsi Exp $
|
|
|
4 |
#
|
|
|
5 |
# Access control file for XDMCP connections
|
|
|
6 |
#
|
|
|
7 |
# To control Direct and Broadcast access:
|
|
|
8 |
#
|
|
|
9 |
# pattern
|
|
|
10 |
#
|
|
|
11 |
# To control Indirect queries:
|
|
|
12 |
#
|
|
|
13 |
# pattern list of hostnames and/or macros ...
|
|
|
14 |
#
|
|
|
15 |
# To use the chooser:
|
|
|
16 |
#
|
|
|
17 |
# pattern CHOOSER BROADCAST
|
|
|
18 |
#
|
|
|
19 |
# or
|
|
|
20 |
#
|
|
|
21 |
# pattern CHOOSER list of hostnames and/or macros ...
|
|
|
22 |
#
|
|
|
23 |
# To define macros:
|
|
|
24 |
#
|
|
|
25 |
# %name list of hosts ...
|
|
|
26 |
#
|
|
|
27 |
# To control which addresses xdm listens for requests on:
|
|
|
28 |
#
|
|
|
29 |
# LISTEN address [list of multicast groups ... ]
|
|
|
30 |
#
|
|
|
31 |
# The first form tells xdm which displays to respond to itself.
|
|
|
32 |
# The second form tells xdm to forward indirect queries from hosts matching
|
|
|
33 |
# the specified pattern to the indicated list of hosts.
|
|
|
34 |
# The third form tells xdm to handle indirect queries using the chooser;
|
|
|
35 |
# the chooser is directed to send its own queries out via the broadcast
|
|
|
36 |
# address and display the results on the terminal.
|
|
|
37 |
# The fourth form is similar to the third, except instead of using the
|
|
|
38 |
# broadcast address, it sends DirectQuerys to each of the hosts in the list
|
|
|
39 |
# The fifth form tells xdm which addresses to listen for incoming connections
|
|
|
40 |
# on. If present, xdm will only listen for connections on the specified
|
|
|
41 |
# interfaces and/or multicast groups.
|
|
|
42 |
#
|
|
|
43 |
# In all cases, xdm uses the first entry which matches the terminal;
|
|
|
44 |
# for IndirectQuery messages only entries with right hand sides can
|
|
|
45 |
# match, for Direct and Broadcast Query messages, only entries without
|
|
|
46 |
# right hand sides can match.
|
|
|
47 |
#
|
|
|
48 |
|
|
|
49 |
* #any host can get a login window
|
|
|
50 |
|
|
|
51 |
#
|
|
|
52 |
# To hardwire a specific terminal to a specific host, you can
|
|
|
53 |
# leave the terminal sending indirect queries to this host, and
|
|
|
54 |
# use an entry of the form:
|
|
|
55 |
#
|
|
|
56 |
|
|
|
57 |
#terminal-a host-a
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
#
|
|
|
61 |
# The nicest way to run the chooser is to just ask it to broadcast
|
|
|
62 |
# requests to the network - that way new hosts show up automatically.
|
|
|
63 |
# Sometimes, however, the chooser can't figure out how to broadcast,
|
|
|
64 |
# so this may not work in all environments.
|
|
|
65 |
#
|
|
|
66 |
|
|
|
67 |
#* CHOOSER BROADCAST #any indirect host can get a chooser
|
|
|
68 |
|
|
|
69 |
#
|
|
|
70 |
# If you'd prefer to configure the set of hosts each terminal sees,
|
|
|
71 |
# then just uncomment these lines (and comment the CHOOSER line above)
|
|
|
72 |
# and edit the %hostlist line as appropriate
|
|
|
73 |
#
|
|
|
74 |
|
|
|
75 |
#%hostlist host-a host-b
|
|
|
76 |
|
|
|
77 |
#* CHOOSER %hostlist #
|
|
|
78 |
|
|
|
79 |
#
|
|
|
80 |
# If you have a machine with multiple network interfaces or IP addresses
|
|
|
81 |
# you can control which interfaces accept XDMCP packets by listing a LISTEN
|
|
|
82 |
# line for each interface you want to listen on. You can additionally list
|
|
|
83 |
# one or more multicast groups after each address to listen on those groups
|
|
|
84 |
# on that address.
|
|
|
85 |
#
|
|
|
86 |
# If no LISTEN is specified, the default is the same as "LISTEN *" - listen on
|
|
|
87 |
# all unicast interfaces, but not for multicast packets. If any LISTEN lines
|
|
|
88 |
# are specified, then only the listed interfaces will be listened on.
|
|
|
89 |
#
|
|
|
90 |
# IANA has assigned FF0X:0:0:0:0:0:0:12B as the permanently assigned
|
|
|
91 |
# multicast addresses for XDMCP, where X in the prefix may be replaced
|
|
|
92 |
# by any valid scope identifier, such as 1 for Node-Local, 2 for Link-Local,
|
|
|
93 |
# 5 for Site-Local, and so on. The default is equivalent to the example shown
|
|
|
94 |
# here using the Link-Local version to most closely match the old IPv4 subnet
|
|
|
95 |
# broadcast behavior.
|
|
|
96 |
#
|
|
|
97 |
# LISTEN * ff02:0:0:0:0:0:0:12b
|
|
|
98 |
|
|
|
99 |
# This example shows listening for multicast on all scopes up to site-local
|
|
|
100 |
#
|
|
|
101 |
# LISTEN * ff01:0:0:0:0:0:0:12b ff02:0:0:0:0:0:0:12b ff03:0:0:0:0:0:0:12b ff04:0:0:0:0:0:0:12b ff05:0:0:0:0:0:0:12b
|