swith user to a bash user

Nicola Lodato <[email protected]> Mon, 06 Oct 2003 11:11:08 +0200
Newsgroups gmane.comp.gnu.sh-utils.bugs
Message-ID <[email protected]>
Hi,

I've a user /test /that has a /bin/bash shell. In his .profile file 
there is these lines:
ODSRELEASE=/some/dir/
export ODSRELEASE

When, as user root, I try this command:

su - test -c "echo $ODSRELEASE"

this command don't return any value.
I've also pasted these lines in .bashrc and .bash_profile but the result 
is the same.
I think that the profile of a user that has a bash shell isn't loaded.

Nicola Lodato