Gentoo Linux global environments for root

1

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?

psct

Posted 2012-01-27T18:56:47.383

Reputation: 111

Answers

1

You should set ROOTPATH instead of PATH in your /etc/env.d/* files.

Rob Wouters

Posted 2012-01-27T18:56:47.383

Reputation: 356