Can't set root env variables in script?
Anyone know why I wouldn't be able to run a script as root that uses export commands to set up environment variables? Running Slackware64 13.0. This is really annoying because if I run /etc/profile.d/32dev.sh as root, nothing happens to root's environment. I can type the commands out at the prompt and that's all good, but it would be much more convenient to use a script. Thanks guys.
|