Decided to use "nobody" instead of "guest".
authorWayne Davison <wayned@samba.org>
Thu, 1 Apr 2004 18:05:40 +0000 (18:05 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 1 Apr 2004 18:05:40 +0000 (18:05 +0000)
authenticate.c
rsync.yo

index 9254fb0..d1ffca6 100644 (file)
@@ -270,7 +270,7 @@ void auth_client(int fd, char *user, char *challenge)
        extern char *password_file;
 
        if (!user || !*user)
        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
 
        if (!(pass=getpassf(password_file)) && !(pass=getenv("RSYNC_PASSWORD"))) {
                /* XXX: cyeoh says that getpass is deprecated, because
index bce6155..ac472f5 100644 (file)
--- 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.
 
 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.
 
 dit(bf(HOME)) The HOME environment variable is used to find the user's
 default .cvsignore file.