I have often noticed within login's .profile the PATH variable may be pre-pended by $PATH
My question is where is the very original PATH set before one logs in. I though it picked up from /etc/profile before it sees .profile. When I opened /etc/profile all I saw was "export PATH". I did not see an actual line where the PATH was set prior to export.
Again, where is the very original PATH variable set. I do realize the final PATH environment set by "login" as per profile settings. I think, the default PATH ise set long before that or read from somewhere other than /etc/profile. I am wondering if it is created within the one of the startup rc scripts. If so, which one would it be.