From owner-freebsd-hackers Wed Jan 22 15:57:02 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA07684 for hackers-outgoing; Wed, 22 Jan 1997 15:57:02 -0800 (PST) Received: from mixer.visi.com (root@mixer.visi.com [204.73.178.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA07665 for ; Wed, 22 Jan 1997 15:56:54 -0800 (PST) Received: from undquirt.visi.com (undquirt.visi.com [206.11.194.26]) by mixer.visi.com (8.8.5/8.7.5) with ESMTP id RAA03264; Wed, 22 Jan 1997 17:56:44 -0600 (CST) From: "Brent J. Nordquist" Posted-Date: Wed, 22 Jan 1997 17:56:44 -0600 (CST) Received: (from bjn@localhost) by undquirt.visi.com (8.8.4/8.7.3) id RAA00270; Wed, 22 Jan 1997 17:55:47 -0600 (CST) Message-Id: <199701222355.RAA00270@undquirt.visi.com> Subject: News binaries run as root, but not as news To: freebsd-hackers@freebsd.org Date: Wed, 22 Jan 1997 17:55:47 -0600 (CST) Cc: bjn@visi.com Reply-to: bjn@visi.com (Brent J. Nordquist) X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk PLEASE copy me on replies; I don't subscribe to -hackers. I tried to ask this in -questions and didn't get an answer. My setup: Fresh cvsup to RELENG_2_2 (the up-and-coming 2.2-RELEASE) of /usr/src and /usr/ports; fresh build and install of /usr/ports/news/cnews; edited files in /usr/local/news/lib but no other explicit configuration. I was able to add a local group and do a postnews/readnews and see the article show up. BUT it only works if I run newsrun as root. If I run newsrun as news, it creates a lock file and then hangs. It doesn't respond to normal kill (I had to kill -9). (I CAN do addgroup and delgroup as news.) I checked /usr/local/news; the entire hierarchy is owned by either bin or news; all files and directories are writable by the owner. Again, I didn't do anything explicit other than make install in /usr/ports/news/cnews, and editing the config files. The work/README has lines that it says should go in news's crontab, but I had to put them in root's to make it work. Is this normal? Any ideas what might be wrong? Thanks! -- Brent J. Nordquist bjn@visi.com +1 612 827-2747