John Bleichert <
jblei...@gmail.com> writes:
> To be fair, I didn't beat on this too hard. It was more of an
> "exercise" than "necessary" and I was curious that system ENV
> variables at startup isn't detailed in the handbook. Way back in the
> 4.x days I used to do this in rc.local iirc but that is
> deprecated. And didn't work...
rc.conf never supported that.
Maybe you were thinking of the root conf files,
/.cshrc and /.profile (or /etc/profile and /etc cschrc).
But I'm just guessing here).
> If login.conf is the blessed method I will get back to it at work today. Perhaps I rebuilt the database incorrectly.
There *are* lots of ways; they're all useful at times, but it depends on
your needs and on what your existing users already have configured. For
regular users, I would set up the path in the skeleton files that are
automatically moved in by adduser(8).
Also, su(1) and login(1) interact with login.conf in different ways
based on how they are invoked. Particularly note the differences
between login shells and otherwise.