diff options
author | runge <runge> | 2006-03-08 17:52:23 +0000 |
---|---|---|
committer | runge <runge> | 2006-03-08 17:52:23 +0000 |
commit | 5e72609631a1893acfe6a31d0129553ed3044a20 (patch) | |
tree | b75197718dc94f26c56cdfbb39d069c79f1cd767 /x11vnc/unixpw.c | |
parent | c997e901c4c268438d063a78bdb121b8f5e8d585 (diff) | |
download | libtdevnc-5e72609631a1893acfe6a31d0129553ed3044a20.tar.gz libtdevnc-5e72609631a1893acfe6a31d0129553ed3044a20.zip |
x11vnc: do CLIPBOARD, reverse conn require passwds, -usepw, -debug_sel, -storepasswd homedir.
Diffstat (limited to 'x11vnc/unixpw.c')
-rw-r--r-- | x11vnc/unixpw.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/x11vnc/unixpw.c b/x11vnc/unixpw.c index d7848d7..bb09d60 100644 --- a/x11vnc/unixpw.c +++ b/x11vnc/unixpw.c @@ -371,6 +371,10 @@ int su_verify(char *user, char *pass) { return 0; } } + if (no_external_cmds) { + rfbLog("su_verify: cannot run external commands.\n"); + clean_up_exit(1); + } #define SU_DEBUG 0 #if SU_DEBUG @@ -710,6 +714,7 @@ if (db) fprintf(stderr, "unixpw_verify: '%s' '%s'\n", user, db > 1 ? pass : "*** unixpw_accept(user); return; } else { + rfbLog("unixpw_verify: crypt_verify login for %s failed.\n", user); usleep(3000*1000); } } else { @@ -717,6 +722,7 @@ if (db) fprintf(stderr, "unixpw_verify: '%s' '%s'\n", user, db > 1 ? pass : "*** unixpw_accept(user); return; } + rfbLog("unixpw_verify: su_verify login for %s failed.\n", user); } if (tries < 2) { |