From owner-freebsd-questions@FreeBSD.ORG Thu Aug 28 18:13:03 2008 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 42859106564A for ; Thu, 28 Aug 2008 18:13:03 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 025C48FC20 for ; Thu, 28 Aug 2008 18:13:02 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id m7SID1AC040163 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 28 Aug 2008 13:13:02 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.2/Submit) id m7SID0qq040162; Thu, 28 Aug 2008 13:13:00 -0500 (CDT) (envelope-from dan) Date: Thu, 28 Aug 2008 13:13:00 -0500 From: Dan Nelson To: VeeJay Message-ID: <20080828181300.GG26653@dan.emsphone.com> References: <2cd0a0da0808281058t13cae3dk93ca769ae81157c3@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2cd0a0da0808281058t13cae3dk93ca769ae81157c3@mail.gmail.com> X-OS: FreeBSD 7.0-STABLE User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD-Questions Subject: Re: _secure_path: cannot stat> /dev/null/.login_conf: Not a directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2008 18:13:03 -0000 In the last episode (Aug 28), VeeJay said: > Hi there > > I have installed FreeBSD 7.0 production. After installation, I am getting > this message when server boots.... > > Could anybody tell what does it mean and how to fix this error??? > > _secure_path: cannot stat> /dev/null/.login_conf: Not a directory Do you maybe have a user account whose home directory is /dev/null ? It looks like program (su, maybe?) is looking for ~/.login_conf using the _secure_path() function. Try changing that home directroy to /var/empty , which is an empty directory with no write permission provided for cases when you need one. -- Dan Nelson dnelson@allantgroup.com