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

Re: Debian equivalent of /etc/profile.d



Cameron Hutchison wrote:
> Once upon a time Paul Gear said...
> 
>>P.S.  I can't believe Debian doesn't have /etc/profile.d.  :-)  Time to
>>submit the above as a patch?
> 
> 
> Section 9.9 of the Debian policy has this to say about environment
> variables:
> ...
>      A program must not depend on environment variables to get reasonable
>      defaults.

If you want to make bash settings consistent across users,
/etc/profile.d is a very appropriate mechanism, regardless of whether
the program has a wrapper script or not.

-- 
Paul
<http://paulgear.webhop.net>
--
Did you know?  Using HTML email (or "Rich Text" email) rather than plain
text is less efficient, and makes you more vulnerable to security flaws
in your computer software.  Learn more about securing your computer at
<http://www.kb.cert.org/vuls/id/713878>.



Reply to: