Gentoo Linux global environments for root [closed]
-
04-12-2019 - |
Question
I'm confused with setting variables in /etc/env.d
directory. When I write echo $PATH
from user - it's print me all variables that set it myself. But from root I see one... Where should I set variables for root?
Solution
You should set ROOTPATH
instead of PATH
in your /etc/env.d/* files.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow