[Bug 229473] support /etc/profile.d by default for sh environment snippets

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 4 15:58:00 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229473

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

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

--- Comment #4 from Jason W. Bacon <jwb at 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 raise,
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.

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


More information about the freebsd-bugs mailing list