$OpenBSD: patch-miscutil_c,v 1.2 2003/11/08 21:55:50 sturm Exp $
--- miscutil.c.orig	2003-10-14 20:46:47.000000000 +0200
+++ miscutil.c	2003-10-30 21:07:40.000000000 +0100
@@ -107,9 +107,9 @@ initvars(char *progname)
     }
 
 #ifndef TESTMODE
-    pw = getpwnam("news");
+    pw = getpwnam("_news");
     if (!pw) {
-	fprintf(stderr, "no such user: news\n");
+	fprintf(stderr, "no such user: _news\n");
 	return FALSE;
     }
 #endif
@@ -130,7 +130,7 @@ initvars(char *progname)
 		    || st.st_uid != pw->pw_uid
 #endif
 	       ) {
-		fprintf(stderr, "Warning: cannot create %s with proper ownership: %s\nMake sure you run this program as user root or news.\n", s, strerror(e));
+		fprintf(stderr, "Warning: cannot create %s with proper ownership: %s\nMake sure you run this program as user root or _news.\n", s, strerror(e));
 		syslog(LOG_WARNING, "Warning: cannot create %s with proper ownership: %s", s, strerror(e));
 		suicide();
 	    }
@@ -153,8 +153,8 @@ initvars(char *progname)
 	setreuid(pw->pw_uid, pw->pw_uid);
 #endif
 	if (getuid() != pw->pw_uid || getgid() != pw->pw_gid) {
-	    syslog(LOG_ERR, "%s: must be run as news or root\n", progname);
-	    fprintf(stderr, "%s: must be run as news or root\n", progname);
+	    syslog(LOG_ERR, "%s: must be run as _news or root\n", progname);
+	    fprintf(stderr, "%s: must be run as _news or root\n", progname);
 	    endpwent();
 	    return FALSE;
 	}
