hi,
I have a problem with su, wich I can't understand.
in /home/myself/.profile I defined TEST001=/tmp
as root I do (1st case):
su - myself
echo $TEST001
OUTPUT: /tmp
as root I do (2nd case):
su - myself -c "echo $TEST001"
OUTPUT:     (empty)

where is the difference?
bye
fisch
-- 
fisch <[EMAIL PROTECTED]>


--
[EMAIL PROTECTED] mailing list

Reply via email to