I agree its not a clear qn, but the point byannoni was making/hinting at is that several files are called during a login process and any/all(!) of them can set/rest env vars, including PATH.
Files include (but are not limited to)
/etc/profile (&/or see /etc/profile.d)
'not limited to' means that they can all call other files which can set env vars ...