Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Decided to use "nobody" instead of "guest".
[rsync/rsync.git]
/
authenticate.c
diff --git
a/authenticate.c
b/authenticate.c
index
b147112
..
d1ffca6
100644
(file)
--- a/
authenticate.c
+++ b/
authenticate.c
@@
-269,7
+269,8
@@
void auth_client(int fd, char *user, char *challenge)
char pass2[30];
extern char *password_file;
- if (!user || !*user) return;
+ if (!user || !*user)
+ user = "nobody";
if (!(pass=getpassf(password_file)) && !(pass=getenv("RSYNC_PASSWORD"))) {
/* XXX: cyeoh says that getpass is deprecated, because