Well, PATH is only relevant for finding executables. There's probably more involved, like e.g. UID, USER and such. You can call "set" without options to peek at the currently active environment variables.
Since "login" should spawn a login shell, the "autostart" file in question would be the "rc" file for your shell. But chances are it will be "~/.profile" for the user in question.
|