Quote:
|
Originally Posted by amheck
Basically, we're installing some new software and we want the path to those new scripts, etc, to be in everyone's profile. But....everyone also has their own .profile, so it sounds like if I set them in /etc/.profile, they'll just be overwritten.
|
A user can find a way to reset environment variables no matter what you do. Set the PATH in /etc/profile. Warn users not to remove the stuff you put in PATH. But in their own .profile, they can still do:
PATH=$PATH:/some/other/directory
and that is a good thing.