From owner-freebsd-questions@FreeBSD.ORG Tue Oct 26 20:06:58 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98F1E106566C for ; Tue, 26 Oct 2010 20:06:58 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 58DF98FC0C for ; Tue, 26 Oct 2010 20:06:58 +0000 (UTC) Received: from r55.edvax.de (port-92-195-16-227.dynamic.qsc.de [92.195.16.227]) by mx02.qsc.de (Postfix) with ESMTP id F0F7E1E33E; Tue, 26 Oct 2010 22:06:56 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o9QK6uov003042; Tue, 26 Oct 2010 22:06:56 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 26 Oct 2010 22:06:55 +0200 From: Polytropon To: Odhiambo Washington Message-Id: <20101026220655.8894b610.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: Update gone wrong X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Oct 2010 20:06:58 -0000 On Tue, 26 Oct 2010 22:38:30 +0300, Odhiambo Washington wrote: > When any user does a login into the system, the contents of of a file, > containing src/etc/mtree/BIND.chroot are displayed on the screen. Looks like /etc/mtree/BIND.chroot got /etc/motd - message of the day - a text file displayed after successful login. > Another > symptom of this is that I see a message like: > Oct 26 22:27:00 gw su: _secure_path: cannot stat /some/path/to/.login_conf: > Permission denied. Check permissions of that file and see if they match with the path the file is accessed by. When using su, you can use the parameter -m (don't modify environment); see "man su" for details - .login_conf is also mentioned there. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...