Date: Thu, 28 Feb 2002 01:01:55 +0000 From: Scott Mitchell <scott.mitchell@mail.com> To: =?iso-8859-1?Q?Rickard_Borgm=E4ster?= <doktorn@realworld.nu> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: System-wide environment variables Message-ID: <20020228010155.D48231@localhost> In-Reply-To: <20020228014555.3f43a7ae.doktorn@realworld.nu>; from doktorn@realworld.nu on Thu, Feb 28, 2002 at 01:45:55AM %2B0100 References: <20020226030324.4a94cc33.doktorn@realworld.nu> <1014689577.677.0.camel@blackbox.pacbell.net> <20020226025447.GA21944@dan.emsphone.com> <1014696241.677.5.camel@blackbox.pacbell.net> <20020226051544.GC1931@raggedclown.net> <1014735740.677.25.camel@blackbox.pacbell.net> <20020227233316.42430b8e.doktorn@realworld.nu> <20020228003904.A48231@localhost> <20020228014555.3f43a7ae.doktorn@realworld.nu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 28, 2002 at 01:45:55AM +0100, Rickard Borgmäster wrote: > On Thu, 28 Feb 2002 00:39:04 +0000 > Scott Mitchell <scott.mitchell@mail.com> hit the keyboard and punched: > > > login.conf(5) is probably the right way to do this -- check out the > > 'setenv' property. > > Still don't get it. What does "check out the 'setenv' property" actually > mean? Apologies, I meant 'check out' in the colloquial sense of 'look at', rather than any technical meaning. Read the login.conf manpage, and look at the /etc/login.conf file that should already exist on your machine. That file already has a 'setenv' line in it, so you'll want to add your variable assignments there. You might need some extra quoting to get something like the prompt string you showed us earlier to work. I've never tried it, so I have no idea how well login.conf handles shell metacharacters. Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott.mitchell@mail.com | 0xAA775B8B | -- Anon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020228010155.D48231>