SSH doesn't pick up user's project from /etc/project

We have a system running ssh. When a user logs in, they do not get the project they are assigned to (they run under "system"). I verify the project using the command "ps -e -o user,pid,ppid,args,project". If you do a "su - username", the user does get the project they are assigned to (and all processes run under the appropriate project for that user). Is there some ssh config that is missing? We are running open source ssh.

Any help is appreciated.

The info you gave was not that clear to me. However what I understood was that you are not logging in via ssh as the user otherwise you would not need to su to that username. And please clarify what did you mean by "the user does get the project they are assigned to" ?? Once you log in to system using ssh the user will land in his home directory...

What does your /etc/project file look like and your /etc/user_attr file look like. There might be a disconnect somewhere in there about defining default projects.