16.97.251
172.16.97.251 being added to access control list
The output of xhost (by itself) will now reflect the added hosts:
blue$ xhost
access control enabled, only authorized clients can connect
INET:172.16.97.251
INET:red
You can remove hosts with the - symbol:
blue$ xhost -172.16.97.251
blue$ xhost
access control enabled, only authorized clients can connect
INET:red
13.9
13.9 xauth and Magic Cookies 183
To disable access control altogether and permit any client to connect to the X server,
use + by itself as an option:
blue$ xhost +
access control disabled, clients can connect from any host
Obviously, this is quite dangerous! But, I must admit, it??™s convenient when you??™re
experimenting on a private, secure network. To re-enable access control, use a dash
by itself as the option:
blue$ xhost -
access control enabled, only authorized clients can connect
It??™s possible to invoke the X server with access control entirely disabled??”as though
xhost + had been executed??”using the -ac option:
blue$ X -ac
Host-based access control does not address network bandwidth and latency issues
nor does it address privacy. It also suffers from two significant drawbacks:
??? It grants access permission to all users of a particular host.
Pages:
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283