From owner-freebsd-hackers Wed Dec 13 00:38:58 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA23740 for hackers-outgoing; Wed, 13 Dec 1995 00:38:58 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [192.216.222.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id AAA23735 for ; Wed, 13 Dec 1995 00:38:56 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id AAA02841 for ; Wed, 13 Dec 1995 00:33:04 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA28484; Wed, 13 Dec 1995 09:21:07 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id JAA12674; Wed, 13 Dec 1995 09:21:06 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id JAA21128; Wed, 13 Dec 1995 09:03:42 +0100 From: J Wunsch Message-Id: <199512130803.JAA21128@uriah.heep.sax.de> Subject: Re: PATH To: aharpham@cnweb.com (Allen D. Harpham) Date: Wed, 13 Dec 1995 09:03:41 +0100 (MET) Cc: hackers@FreeBSD.ORG Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "Allen D. Harpham" at Dec 12, 95 08:34:03 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-hackers@FreeBSD.ORG Precedence: bulk As Allen D. Harpham wrote: > > I have setup some menus in the past using the bash shell. Then I set > the default shell in the passwd file to /usr/bin/menu. > > This has always worked fine under Linux. But under FreeBSD, the PATH > doesn't seem to get read from the .profile file. What's different > between the two systems? $HOME/.profile is only being sucked in by /bin/sh when starting. So it's apparent that this would become a useless file for any login `shell' != /bin/sh (or bash, or ksh). You most likely didn't notice it's non-existing effect on Linux since the default PATH might be different anyway. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)