From 22e6067d10c9d028da149f4d093cdeddbb386a19 Mon Sep 17 00:00:00 2001 From: Carlos Santos Date: Wed, 4 Oct 2023 11:40:56 -0300 Subject: [PATCH] Fix description of "%u" in manual pages. We user the real, not the effective user ID, to check if the user is allowed to log in with the "Plain" security types. Otherwise it would be necessary to log in as root when Xvnc is installed with the set-user-id bit on. Signed-off-by: Carlos Santos --- unix/x0vncserver/x0vncserver.man | 3 +-- unix/xserver/hw/vnc/Xvnc.man | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/unix/x0vncserver/x0vncserver.man b/unix/x0vncserver/x0vncserver.man index 122efa73a4..78db73098f 100644 --- a/unix/x0vncserver/x0vncserver.man +++ b/unix/x0vncserver/x0vncserver.man @@ -126,8 +126,7 @@ parameter instead. A comma separated list of user names that are allowed to authenticate via any of the "Plain" security types (Plain, TLSPlain, etc.). Specify \fB*\fP to allow any user to authenticate using this security type. Specify \fB%u\fP -to allow the effective user of the server process. Default is to deny all -users. +to allow the user of the server process. Default is to deny all users. . .TP .B \-pam_service \fIname\fP, \-PAMService \fIname\fP diff --git a/unix/xserver/hw/vnc/Xvnc.man b/unix/xserver/hw/vnc/Xvnc.man index ff5dbfd540..e9fb654271 100644 --- a/unix/xserver/hw/vnc/Xvnc.man +++ b/unix/xserver/hw/vnc/Xvnc.man @@ -201,8 +201,7 @@ parameter instead. A comma separated list of user names that are allowed to authenticate via any of the "Plain" security types (Plain, TLSPlain, etc.). Specify \fB*\fP to allow any user to authenticate using this security type. Specify \fB%u\fP -to allow the effective user of the server process. Default is to deny all -users. +to allow the user of the server process. Default is to deny all users. . .TP .B \-pam_service \fIname\fP, \-PAMService \fIname\fP