[PATCH] Remove the references to /etc/X*.hosts

Pat Kane pekane52 at gmail.com
Mon Oct 11 05:47:13 PDT 2010


 Jeremy Huddleston wrote:
>  Ok, than any objection to removing the reference from xhost(1)?
Sound okay to me.

How about the updated patch below?

Signed-off-by: Patrick E. Kane <pekane52 at gmail.com>

Pat
---


diff --git a/xhost.man b/xhost.man
index 08adefd..5d5eaad 100644
--- a/xhost.man
+++ b/xhost.man
@@ -142,6 +142,11 @@ string representing a given value, separated by a
colon.  For example,
 with a value of \fIalmas\fP.   For more information on the available forms
 of server interpreted addresses, see the \fIXsecurity\fP(__miscmansuffix__)
 manual page.
+.PP
+The initial access control list for display number \fBn\fP
+may be set by the file \fI/etc/X\fBn\fI.hosts\fR, where
+\fBn\fP is the display number of the server.  See \fIXserver\fP(1)
+for details.
 .SH DIAGNOSTICS
 For each name added to the access control list,
 a line of the form "\fIname\fP being added to access control list"
@@ -149,8 +154,6 @@ is printed.
 For each name removed from the access control list,
 a line of the form "\fIname\fP being removed from access control list"
 is printed.
-.SH FILES
-/etc/X*.hosts
 .SH "SEE ALSO"
 X(__miscmansuffix__), Xsecurity(__miscmansuffix__), Xserver(1),
xdm(1), xauth(1), getaddrinfo(3)
 .SH ENVIRONMENT


More information about the xorg-devel mailing list