1
vote
1answer
76 views

Gentoo Linux global environments for root

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 ...
0
votes
2answers
1k views

how do I add global Environment Variables in Gentoo?

I know they get read from /etc/env.d/ but I tried adding in my own file in there (00example) with a single env variable but they aren't picked up after either env-update. How does a user declare them ...