2

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?

Zsolt Botykai
  • 50,406
  • 14
  • 85
  • 110
RomanKovalev
  • 852
  • 3
  • 10
  • 29

1 Answers1

1

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

Rob Wouters
  • 15,797
  • 3
  • 42
  • 36