From owner-freebsd-questions Mon Oct 27 16:09:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA08080 for questions-outgoing; Mon, 27 Oct 1997 16:09:07 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from gridsat.thegrid.net (root@gridsat.thegrid.net [209.60.100.4]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA08071 for ; Mon, 27 Oct 1997 16:09:05 -0800 (PST) (envelope-from dean@thegrid.net) Received: from s62-235-70.thegrid.net (s62-235-70.thegrid.net [209.60.235.70]) by gridsat.thegrid.net (8.8.7/8.8.5) with SMTP id QAA25430; Mon, 27 Oct 1997 16:08:56 -0800 (PST) Message-Id: <3.0.3.16.19971027170649.20f74e38@mail.thegrid.net> X-Sender: i236555@mail.thegrid.net X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.3 (16) Date: Mon, 27 Oct 1997 17:06:49 To: Brian Clapper From: Dean Subject: Re: Warnings when root logs in to 2.2.2 Cc: questions@FreeBSD.ORG In-Reply-To: <199710251607.MAA10708@current.willscreek.com> References: <105494522@toto.iv> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> Once root or any defined user logs in the message "Warning: imported >> path contains relative components" appears. This looks more ominus. >> Please help me determine what it's telling me and how I can fix it. > >This will typically happen when you su(1) to root and you have at least one >non-absolute directory value (e.g., ".") in your PATH. It's generally >considered a dangerous thing to have "." in your PATH if you're logged in >as or su'd to "root". (Some consider it dangerous even if you're not >"root".) Remove any such components from your PATH before you "su" to get >rid of the complaint. I get the same problem, but I don't have any .'s in my path statement. I'm looking in .login. Is that the right place? Dean.