]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
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 9254fb0bf2e9b6705d358c1538cfcbdeeadbc829..d1ffca622a44465ea7f7dab60dfbfd3f6681e509 100644 (file)
@@ -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
index bce615534d903a964696ab741b87bc31c1af6d60..ac472f50f7ebb94e4a26ead07f3e96002ee30e29 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.
-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.