Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Oct 2018 15:57:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 229473] support /etc/profile.d by default for sh environment snippets
Message-ID:  <bug-229473-227-tn6LXUrPQD@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229473-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229473-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229473

Jason W. Bacon <jwb@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jwb@freebsd.org

--- Comment #4 from Jason W. Bacon <jwb@freebsd.org> ---
As someone who supports CentOS and FreeBSD in production, I'm potentially
interested in this as well.  It would simplify creating portable shell env
customizations that work on both BSD and Linux.

I wonder if there are security or stability concerns that someone might rai=
se,
though.  A feature like this opens up the possibility of ports installing
things that modify the default environment, unbeknownst to the sysadmin.

If it goes forward, we would need checks in all the startup scripts, e.g.
/etc/csh.cshrc, /etc/csh.login, /etc/profile, ...

We might also want to check ${LOCALBASE}/etc/profile.d.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229473-227-tn6LXUrPQD>