openbsd-ports/net/rsync/patches/patch-authenticate_c
ajacoutot d042afed10 Use the "_rsync" user and group by default, instead of nobody.
Tweak man pages accordingly.
While here:
simplify @extra marker in PLIST
set GPL version

"looks good" to naddy@
with inputs from and ok schwarze@, ok sthen@
2011-04-02 15:13:25 +00:00

13 lines
424 B
Plaintext

$OpenBSD: patch-authenticate_c,v 1.1 2011/04/02 15:13:25 ajacoutot Exp $
--- authenticate.c.orig Mon Mar 28 13:59:40 2011
+++ authenticate.c Mon Mar 28 13:59:55 2011
@@ -291,7 +291,7 @@ void auth_client(int fd, const char *user, const char
char pass2[MAX_DIGEST_LEN*2];
if (!user || !*user)
- user = "nobody";
+ user = "_rsync";
if (!(pass = getpassf(password_file))
&& !(pass = getenv("RSYNC_PASSWORD"))) {