summaryrefslogtreecommitdiff
path: root/man/xhost.man
diff options
context:
space:
mode:
authorErik Saule <esaule@bmi.osu.edu>2011-07-23 18:11:10 -0400
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-25 10:27:30 -0700
commitc77ffc9c88d65b31c1ffadfc7956d954d82d5e85 (patch)
tree84bd4c202f4d5511cedf8c198205465ceaec1510 /man/xhost.man
parent88e5e5af7a6af15a6d277565e317f8d768067de5 (diff)
man: xhost can not take a user name as a parameter.
However, server interpreted addresses can be used to achieve the same behavior. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'man/xhost.man')
-rw-r--r--man/xhost.man16
1 files changed, 14 insertions, 2 deletions
diff --git a/man/xhost.man b/man/xhost.man
index a805edf..aac0a0a 100644
--- a/man/xhost.man
+++ b/man/xhost.man
@@ -75,11 +75,18 @@ Prints a usage message.
.BI "[+]" "name"
The given \fIname\fP (the plus sign is optional)
is added to the list allowed to connect to the X server.
-The name can be a host name or a user name.
+The name can be a host name or a complete name (See
+.SM
+.B NAMES
+for more details).
.TP 8
.BI \- "name"
The given \fIname\fP is removed from the list of allowed
-to connect to the server. The name can be a host name or a user name.
+to connect to the server. The name can be a host name or a complete
+name (See
+.SM
+.B NAMES
+for more details).
Existing connections are not broken, but new
connection attempts will be denied.
Note that the current machine is allowed to be removed; however, further
@@ -131,6 +138,11 @@ Otherwise they are assumed to be Internet addresses. If compiled to support
IPv6, then all IPv4 and IPv6 addresses returned by getaddrinfo(__libmansuffix__) are added to
the access list in the appropriate inet or inet6 family.
.PP
+The local family specifies all the local connections at once. However,
+the server interpreted address "si:localuser:\fIusername\fP" can be
+used to specify a single local user. (See the
+\fIXsecurity\fP(__miscmansuffix__) manual page for more details.)
+.PP
Server interpreted addresses consist of a case-sensitive type tag and a
string representing a given value, separated by a colon. For example,
"si:hostname:almas" is a server interpreted address of type \fIhostname\fP,