From owner-freebsd-questions@FreeBSD.ORG Mon Jul 10 01:45:23 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5179116A4DD for ; Mon, 10 Jul 2006 01:45:23 +0000 (UTC) (envelope-from gs_stoller@juno.com) Received: from outbound-mail.nyc.untd.com (outbound-mail.nyc.untd.com [64.136.20.164]) by mx1.FreeBSD.org (Postfix) with SMTP id B44D843D45 for ; Mon, 10 Jul 2006 01:45:22 +0000 (GMT) (envelope-from gs_stoller@juno.com) Received: from webmail04.nyc.untd.com (webmail04.nyc.untd.com [10.141.27.144]) by smtpout01.nyc.untd.com with SMTP id AABCMDNJVA4WEH9S for (sender ); Sun, 9 Jul 2006 18:44:51 -0700 (PDT) X-UNTD-OriginStamp: /s5f1SIGSI3+WdnoYQ8yRMRu80e+pIBHPpLfEdZHL7eo2iaIrHom7A== Received: (from gs_stoller@juno.com) by webmail04.nyc.untd.com (jqueuemail) id LUVQSA5X; Sun, 09 Jul 2006 18:44:35 PDT Received: from [67.84.52.37] by webmail04.nyc.untd.com with HTTP: Mon, 10 Jul 2006 01:43:40 GMT X-Originating-IP: [67.84.52.37] Mime-Version: 1.0 From: "gs_stoller@juno.com" Date: Mon, 10 Jul 2006 01:43:40 GMT To: freebsd-questions@freebsd.org X-Mailer: Webmail Version 4.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-Type: text/plain Message-Id: <20060709.184435.15626.301776@webmail04.nyc.untd.com> X-ContentStamp: 3:4:641748054 X-UNTD-Peer-Info: 10.141.27.144|webmail04.nyc.untd.com|webmail04.nyc.untd.com|gs_stoller@juno.com Subject: The ENV variable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jul 2006 01:45:23 -0000 The shell variable ENV is supposed to name a script to be invoked whenever the Korn shell starts up an interactive shell. While this is the case for just about all users, on my system it is not the case for users with the user-id of root . Is this how UNIX is supposed to work? For my system: uname -a FreeBSD 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001 jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC i386 How does ENV work in later systems, the same (i.e., not for root )?