From owner-freebsd-questions Wed Oct 4 07:57:39 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA21302 for questions-outgoing; Wed, 4 Oct 1995 07:57:39 -0700 Received: from gilberto.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.31.2]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id HAA21292 for ; Wed, 4 Oct 1995 07:57:31 -0700 Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.6.11/8.6.9) id PAA01733; Wed, 4 Oct 1995 15:54:41 +0100 Message-Id: <199510041454.PAA01733@gilberto.physik.rwth-aachen.de> Subject: Re: path question To: splyaski@cmp.com (Plyaskin Sergey) Date: Wed, 4 Oct 1995 15:54:40 +0100 (MET) Cc: freebsd-questions@freebsd.org In-Reply-To: <1995Oct04.094359.1151.275833@smtpgate.cmp.com> from "Plyaskin Sergey" at Oct 4, 95 09:46:40 am From: Christoph Kukulies Reply-To: Christoph Kukulies X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1047 Sender: owner-questions@freebsd.org Precedence: bulk > > > Hi folks, > > I am running FreeBSD 2.1 July SNAP. > As is, I have to use the absolute path in order to run my applications, for > example: > ./usr/local/bin/httpd This is not an absolute path, this is a relative path. Send your .cshrc/.login and your passwd entry. Does this happen under 'root'? Something must be hosed on your side. > Without that dot, it does not run even though I have /usr/local/bin in my > path. If I add dot to my path, it works but I get the error message on > login: Exported path has relative components. I also realize that including > dot in the path can be considered as a security hole. Normally the 'root' user should not have . in his path. There should appear any dots at all in your path statement besides a sole . for the normal user. > Question: is there any way of fixing that? I want to be able to run things > without memorizing their locations. Thanks. > > splyaski@cmp.com > Serge Plyaskin > CMP Publications > > --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de