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
_______________________________________________ Bug-sh-utils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-sh-utils