Skip to content

Commit

Permalink
Fix description of "%u" in manual pages.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
casantos committed Oct 4, 2023
1 parent 79d441e commit 22e6067
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions unix/x0vncserver/x0vncserver.man
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions unix/xserver/hw/vnc/Xvnc.man
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22e6067

Please sign in to comment.