Re: /etc/environment (related with bug #28446)
Quoting Ian Jackson (ian@chiark.greenend.org.uk):
> Francesco Potorti` writes ("/etc/environment (related with bug #28446)"):
> > I see that there is no policy described in /usr/doc/debian-policy about
> > /etc/environment, while I think there should be one.
>
> I agree.
>
> I think that it should be a (POSIX) sh script fragement. The
> advantage of this is that you can set ulimits, umask, and other
> similar attributes of processes, source $HOME/.environment if it
> exists, etc. etc., whereas the login.defs mechanism only allows a very
> restricted set of features.
I disagree. Other programs (e.g., ssh) expect this to be in NAME=value
format.
Mike Stone
Reply to: