Hi, i would like to set some perm env. variables for bash, i am able to do it for root and my user account, but when i change to su i lose my evars. Any ideas would be most appreciated, im using slackware 8.1 by the way.
I think i can explain this better:
if [ "`id -u`" = "0"]; then
echo $PATH | grep /usr/local/sbin 1> /dev/null 2> /dev/null
if [ ! $? = 0 ]; then
The above works for root, and i can do it for my user account,
but when i change to root with su from my user account i lose
my evars, hope that clears things up, thanks again.