.bash_profile not ran when running su

view full story

http://unix.stackexchange.com – I have a user, say user1 which has modifications to its .bash_profile, one of them changing the PATH, eg: export PATH=/some/place:$PATH. This change works fine if I log on as user1 or do a su - user1. But if I try to run a command via su as root, eg: su -c test.sh oracle (test contains echo $PATH) It doesn't seem to have the modified PATH (or the root's PATH, for that matter). I've also tried copying .bash_profile to .profile, to no avail. Why is this happening? (HowTos)