From owner-freebsd-questions Tue Nov 30 22:38:40 1999 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.hypostasis.com. (smtp.hypostasis.com [210.55.57.17]) by hub.freebsd.org (Postfix) with ESMTP id B4D5214F2C for ; Tue, 30 Nov 1999 22:38:36 -0800 (PST) (envelope-from kit@hypostasis.com) Received: from amethyst.hypostasis.com (amethyst.hypostasis.com [192.168.2.2]) by smtp.hypostasis.com. (8.9.3/8.9.2) with ESMTP id TAA06660; Wed, 1 Dec 1999 19:33:14 +1300 (NZDT) (envelope-from kit@amethyst.hypostasis.com) Received: (from kit@localhost) by amethyst.hypostasis.com (8.9.3/8.9.2) id TAA10302; Wed, 1 Dec 1999 19:47:44 +1300 (NZDT) (envelope-from kit) Date: Wed, 1 Dec 1999 19:47:44 +1300 From: Kit To: Glenn Johnson Cc: Kit , questions@FreeBSD.ORG Subject: Re: Xterm,ssh and $PATH Message-ID: <19991201194744.A10261@amethyst.hypostasis.com> References: <19991130235946.A7182@amethyst.hypostasis.com> <19991130173422.A5634@symbion.srrc.usda.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <19991130173422.A5634@symbion.srrc.usda.gov>; from Glenn Johnson on Tue, Nov 30, 1999 at 05:34:22PM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks Glenn That was exactly it. I think the second /usr/local/bin is coming from from on eof hte window manager beasties. I am about to spend a little time tracking it down.. --kit On Tue, Nov 30, 1999 at 05:34:22PM -0600, Glenn Johnson wrote: > On Tue, Nov 30, 1999 at 11:59:46PM +1300, Kit wrote: > > > > > Where would it be likely to be set and how can I change it? Apart > > from /etc/profile /etc/login .profile and .login where is the $PATH > > set? I am uncomfortable with the inclusion of the home/bin directory > > and would like to be able to disable it for these types of session. I > > am more uncomfortable with not knowing what the path is going to be. > > Look in /etc/login.conf under the appropriate class which is probably > "default" in your case. There is a line to set the path there. After you > are finished editing this file you should run > > 'cap_mkdb /etc/login.conf' > > Of course, your .login or .profile, depending on your shell, will > override this during normal login. > > -- > Glenn Johnson > Technician > USDA, ARS, SRRC > New Orleans, LA > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message