From owner-freebsd-questions Fri Jul 7 13:31: 0 2000 Delivered-To: freebsd-questions@freebsd.org Received: from foobie.net (adsl-216-103-105-178.dsl.snfc21.pacbell.net [216.103.105.178]) by hub.freebsd.org (Postfix) with ESMTP id A119937C922 for ; Fri, 7 Jul 2000 13:27:21 -0700 (PDT) (envelope-from sbeitzel@foobie.net) Received: (from sbeitzel@localhost) by foobie.net (8.9.3/8.9.3) id NAA35959 for freebsd-questions@freebsd.org; Fri, 7 Jul 2000 13:27:17 -0700 (PDT) (envelope-from sbeitzel) From: Stephen Beitzel Message-Id: <200007072027.NAA35959@foobie.net> Subject: su -m nobody To: freebsd-questions@freebsd.org Date: Fri, 7 Jul 2000 13:27:17 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've got junkbuster installed on a FreeBSD 4.0-STABLE machine, and I'm having some trouble at startup time: the startup script that gets put in /usr/local/etc/rc.d contains the following line: su -m nobody -c "/usr/local/sbin/junkbuster configfile &" But when the machine starts up execution halts at that line with a message: mesg: /dev/ttyp0: Operation not permitted I've checked /etc/passwd (with vipw) and there is an entry for user nobody. But when I'm logged in as root, I can get this same error message just by typing `su -m nobody` -- so is there some kind of trick I have to do to make junkbuster run as an unprivileged process? Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message