diff options
-rw-r--r-- | authenticate.c | 2 | ||||
-rw-r--r-- | rsync.yo | 2 |
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 @@ -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. |