Friday, November 06, 2020

Set environment variable for non-interactive shell

Hi All,

I'm currently trying to figure out, how to set global environment
variable, valid for multiple users including root, so Ansible will be
able to accept it as "fact" for both root and non-root users. I've
already tried to play with .cshrc files and /etc/rc.local, nothing
worked so far, looks like I'm missing something important.

Thanx in advance,

Kirill

No comments:

Post a Comment