Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 2000 13:20:15 -0800 (PST)
From:      Doug Barton <Doug@gorean.org>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Proposed new Bourne shell init files
Message-ID:  <Pine.BSF.4.21.0003301315490.61945-200000@dt051n0b.san.rr.com>
In-Reply-To: <38E2F801.548AAAF1@gorean.org>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--0-1118915418-954451215=:61945
Content-Type: TEXT/PLAIN; charset=US-ASCII

	The use of allexport in my previous submission was considered "too
clever," and the source of possible user confusion. Rather than fight that
battle, here is a version with explicit exporting of variables, and a
helpful message at the top that attempts to explain why exporting is
important. The following one line would still need to be added to root's
dot.profile, however the line numbering in the patch below will be off. 


> 	For root's dot.profile you need to add the following:
> 
> --- dot.profile Sat Mar 25 23:24:25 2000
> +++ dot.profile.root    Sat Mar 25 23:41:15 2000
> @@ -8,6 +8,8 @@
>  # Export all the environment variables to clean things up a bit
>  set -o allexport
>  
> +HOME=/root
> +
>  # Remove /usr/games and /usr/X11R6/bin if you want
> 
> PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/usr/games:$HOME/bin

	All opinions to the contrary aside, I welcome additional comments
or suggestions.

Doug
-- 
    "So, the cows were part of a dream that dreamed itself into
existence? Is that possible?" asked the student incredulously.
    The master simply replied, "Mu."


--0-1118915418-954451215=:61945
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="dot.profile"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.BSF.4.21.0003301320150.61945@dt051n0b.san.rr.com>
Content-Description: Bourne shell .profile script
Content-Disposition: attachment; filename="dot.profile"

IyAkRnJlZUJTRCQNCiMNCiMgLnByb2ZpbGUgLSBCb3VybmUgU2hlbGwgc3Rh
cnR1cCBzY3JpcHQgZm9yI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ydCBURVJNDQoN
CkVESVRPUj12aQ0KZXhwb3J0IEVESVRPUg0KUEFHRVI9bW9yZQ0KZXhwb3J0
IFBBR0VSDQpCTE9DS1NJWkU9Sw0KZXhwb3J0IEJMT0NLU0laRQ0KDQojIFNl
dCBFTlYgdG8gYSBmaWxlIGludm9rZWQgZWFjaCB0aW1lIHNoIGlzIHN0YXJ0
ZWQgZm9yIGludGVyYWN0aXZlIHVzZS4NCkVOVj0kSE9NRS8uc2hyYzsgZXhw
b3J0IEVOVg0KDQo=
--0-1118915418-954451215=:61945--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0003301315490.61945-200000>