My problem is when I login as root, the search path is only /usr/sbin,
/usr/bin. I have added other paths such as /usr/local/bin in the /.profile,
/.cshrc, and /.login for root. But they do not work. If I want to use the
command saved at /usr/local/bin as root, I have to give the whole path or
set the path again manually.
Can someone let me know that how to set up the path environment variable for
the user root? How the /usr/sbin, /usr/bin is set for root (I mean which
file is used)? I checked /etc/profile, can't find anything.