summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--authenticate.c2
-rw-r--r--rsync.yo2
2 files changed, 2 insertions, 2 deletions
diff --git a/authenticate.c b/authenticate.c
index 9254fb0b..d1ffca62 100644
--- a/authenticate.c
+++ b/authenticate.c
@@ -270,7 +270,7 @@ void auth_client(int fd, char *user, char *challenge)
extern char *password_file;
if (!user || !*user)
- user = "guest";
+ user = "nobody";
if (!(pass=getpassf(password_file)) && !(pass=getenv("RSYNC_PASSWORD"))) {
/* XXX: cyeoh says that getpass is deprecated, because
diff --git a/rsync.yo b/rsync.yo
index bce61553..ac472f50 100644
--- a/rsync.yo
+++ b/rsync.yo
@@ -1214,7 +1214,7 @@ password to a shell transport such as ssh.
dit(bf(USER) or bf(LOGNAME)) The USER or LOGNAME environment variables
are used to determine the default username sent to an rsync server.
-If neither is set, the username defaults to "guest".
+If neither is set, the username defaults to "nobody".
dit(bf(HOME)) The HOME environment variable is used to find the user's
default .cvsignore file.