summaryrefslogtreecommitdiffstats
path: root/x11vnc/help.c
diff options
context:
space:
mode:
authorrunge <runge>2007-05-05 18:28:32 +0000
committerrunge <runge>2007-05-05 18:28:32 +0000
commit1d495291e434af3d8bb8d6ceaf5aa926dea065e9 (patch)
tree333a569b60985693fafd68782115cf6288e03a39 /x11vnc/help.c
parent76d88e31114b5cc0f66f90e76eb9c734bbc9bf4b (diff)
downloadlibtdevnc-1d495291e434af3d8bb8d6ceaf5aa926dea065e9.tar.gz
libtdevnc-1d495291e434af3d8bb8d6ceaf5aa926dea065e9.zip
filexfer warnings and messages.
Diffstat (limited to 'x11vnc/help.c')
-rw-r--r--x11vnc/help.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/x11vnc/help.c b/x11vnc/help.c
index b465773..77ea6de 100644
--- a/x11vnc/help.c
+++ b/x11vnc/help.c
@@ -360,11 +360,27 @@ void print_help(int mode) {
" per-client viewonly state the filetransfer permissions\n"
" will NOT change.\n"
"\n"
+" IMPORTANT: please understand if -tightfilexfer is\n"
+" specified and you run x11vnc as root for, say, inetd\n"
+" or display manager (gdm, kdm, ...) access and you do\n"
+" not have it switch users via the -users option, then\n"
+" VNC Viewers that connect are able to do filetransfer\n"
+" reads and writes as *root*.\n"
+"\n"
+" Also, tightfilexfer is disabled in -unixpw mode.\n"
+"\n"
"-ultrafilexfer Note: to enable UltraVNC filetransfer and to get it to\n"
" work you probably need to supply these libvncserver\n"
" options: \"-rfbversion 3.6 -permitfiletransfer\"\n"
" \"-ultrafilexfer\" is an alias for this combination.\n"
"\n"
+" IMPORTANT: please understand if -ultrafilexfer is\n"
+" specified and you run x11vnc as root for, say, inetd\n"
+" or display manager (gdm, kdm, ...) access and you do\n"
+" not have it switch users via the -users option, then\n"
+" VNC Viewers that connect are able to do filetransfer\n"
+" reads and writes as *root*.\n"
+"\n"
" Note that sadly you cannot do both -tightfilexfer and\n"
" -ultrafilexfer at the same time because the latter\n"
" requires setting the version to 3.6 and tightvnc will\n"
@@ -1643,7 +1659,7 @@ void print_help(int mode) {
" character. E.g. \"-users +bob\" or \"-users +nobody\".\n"
"\n"
" The latter (i.e. switching immediately to user\n"
-" \"nobody\") is probably the only use of this option\n"
+" \"nobody\") is the only obvious use of the -users option\n"
" that increases security.\n"
"\n"
" Use the following notation to associate a group with\n"