[gentoo-user] su problem

2004-02-05 Thread fisch
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

Re: [gentoo-user] su problem

2004-02-05 Thread mathieu perrenoud
Le Jeudi, 5 Février 2004 13.27, fisch a écrit : 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)