From c77ffc9c88d65b31c1ffadfc7956d954d82d5e85 Mon Sep 17 00:00:00 2001 From: Erik Saule Date: Sat, 23 Jul 2011 18:11:10 -0400 Subject: 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 Signed-off-by: Alan Coopersmith --- man/xhost.man | 16 ++++++++++++++-- 1 file 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, -- cgit v1.2.3