From owner-freebsd-questions Tue Nov 30 10:33:38 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 93596159C7 for ; Tue, 30 Nov 1999 10:33:32 -0800 (PST) (envelope-from kit@hypostasis.com) Received: from amethyst.hypostasis.com (amethyst.hypostasis.com [192.168.2.2]) by sapphire.hypostasis.com (8.9.3/8.9.2) with ESMTP id XAA04644 for ; Tue, 30 Nov 1999 23:45:25 +1300 (NZDT) (envelope-from kit@amethyst.hypostasis.com) Received: (from kit@localhost) by amethyst.hypostasis.com (8.9.3/8.9.2) id XAA07232 for questions@freebsd.org; Tue, 30 Nov 1999 23:59:46 +1300 (NZDT) (envelope-from kit) Date: Tue, 30 Nov 1999 23:59:46 +1300 From: Kit To: questions@freebsd.org Subject: Xterm,ssh and $PATH Message-ID: <19991130235946.A7182@amethyst.hypostasis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi I have a feeling that this may well be a question with an obvious answer. I am running 3.3 STABLE and Xfree86 3.3.5 (on three machines) I have just tried setting up ssh to forward for forwarding an xterm. However in the xterm I get my PATH set to /home/kit/bin:/bin/:usr/local/bin:/usr/localbin (The doubling of usr/localbin leads me to think that it might be being set in more than one place.) This is not the same as the .profile or .login paths and I can't find where it is set. 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. --kit To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message