From owner-freebsd-questions Fri Jul 7 13:42:58 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 11F3737B7F8 for ; Fri, 7 Jul 2000 13:42:48 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id PAA08908; Fri, 7 Jul 2000 15:42:42 -0500 (CDT) (envelope-from dan) Date: Fri, 7 Jul 2000 15:42:42 -0500 From: Dan Nelson To: Stephen Beitzel Cc: freebsd-questions@FreeBSD.ORG Subject: Re: su -m nobody Message-ID: <20000707154241.A4523@dan.emsphone.com> References: <200007072027.NAA35959@foobie.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.3.5i In-Reply-To: <200007072027.NAA35959@foobie.net>; from "Stephen Beitzel" on Fri Jul 7 13:27:17 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Jul 07), Stephen Beitzel said: > 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 Check your shell's startup scripts and move the "mesg" command out of the "always" script and put it in the "login" or "interactive" script. For zsh, as an example, move the command from /etc/zshenv to zshrc or zprofile. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message