What distro? Do you mean root login or userlogin?
What exactly is not exicuting? Have you made any changies
to the /etc/profile? What do you want to happen? What terminal program are you using (i.e. xterm, rxvf, Kterm, gnome-terms.
Again be specific. Answer each questoins.
And if you made changes to profile post it.