Hi Guys,

I'm having an issue here, I have installed Documentum on the openSuse and EMC doesn't provide any startup (start/stop/restart) script for /etc/init.d and I wrote my own. I have bunch of env variables that are required to start/stop Documentum and they are all set in the ~/.profile of "dmadmin" (its the user that start/stop Documentum) now when I use the following script, I get error that Env Variable not found.


case "$1" in
su - dmadmin -c "/opt/documentum/dba/dmservices $1"

su - dmadmin -c "/opt/documentum/dba/dmservices $1"
Can somebody tell me how to load Env variables from "su" that are set for some other user?