Hey Kirill,

The default shell in OpenBSD is usually ksh unless otherwise specified. You should check out the ksh(1) man page.

You should be able to achieve what you want by setting the variable in /etc/profile. Hope that helps.

Dante

On 2020-11-06 6:23 a.m., Kirill Peskov wrote:
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



Reply via email to