[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Environment Script System



On Tue, Aug 12, 2003 at 07:31:44PM +0200, Tollef Fog Heen wrote:
> * Colin Watson 
> | Not everyone uses bash. For that matter, not everyone even uses a
> | Bourne-style shell as their login shell. Also, /etc/environment is not
> | available for such use; it's read by the pam_env module, which is not
> | prepared for it to contain anything more than simple KEY=VALUE lines.
> 
> It wouldn't be very hard to add support for an /etc/environment.d to
> pam_env, I imagine.

I'd still think it was a bad idea, though. In general, the reason we
need .d directories is so that packages can install separate files in
them. Since packages aren't allowed to depend on environment variables,
that just leaves the administrator, who can equally well use
/etc/environment.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: