Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jul 2000 15:42:42 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        Stephen Beitzel <sbeitzel@foobie.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: su -m nobody
Message-ID:  <20000707154241.A4523@dan.emsphone.com>
In-Reply-To: <200007072027.NAA35959@foobie.net>; from "Stephen Beitzel" on Fri Jul  7 13:27:17 GMT 2000
References:  <200007072027.NAA35959@foobie.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000707154241.A4523>