From owner-freebsd-questions Wed Jan 30 5:21: 0 2002 Delivered-To: freebsd-questions@freebsd.org Received: from phoenix.welearn.com.au (phoenix.welearn.com.au [139.130.44.81]) by hub.freebsd.org (Postfix) with ESMTP id 7DF2A37B402 for ; Wed, 30 Jan 2002 05:20:55 -0800 (PST) Received: (from sue2@localhost) by phoenix.welearn.com.au (8.11.6/8.11.6) id g0UDKjN17771; Thu, 31 Jan 2002 00:20:45 +1100 (EST) (envelope-from sue2) Date: Thu, 31 Jan 2002 00:20:44 +1100 From: Sue Blake To: "J.S." Cc: freebsd-questions@FreeBSD.ORG Subject: Re: "su - user" error Message-ID: <20020131002044.B2812@phoenix.welearn.com.au> Mail-Followup-To: Sue Blake , "J.S." , freebsd-questions@FreeBSD.ORG References: <20020130141106.62696839.johann@broadpark.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020130141106.62696839.johann@broadpark.no>; from johann@broadpark.no on Wed, Jan 30, 2002 at 02:11:06PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Jan 30, 2002 at 02:11:06PM +0100, J.S. wrote: > This message occurs whenever I as root su to another user: > > mesg: /dev/ttyp3: Operation not permitted > > Does anyone know why? Try just "su user" without the "-", and you won't have the error. With the "su - user" method you're running the user's .profile (or equivalent) as for their normal login. There is a mesg command in there. That command won't work in an xterm (or whatever ttyp3 is), and lets you (i.e. 'user') know that it hasn't been able to run this time round. The error message is harmless. -- Regards, -*Sue*- sue@welearn.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message