linux - Set PATH for all users AND processes -


how set path variable users , processes? have path set in /etc/profile not loaded when run process remotely. running saltstack , minion process, when called master not have right path. there way set path in single place users , processes?

it depends on distribution using.

on debian/ubuntu default path variables at:

/etc/login.defs 

also, every process has process calls , inherit path process. doesn't make sense set global process path distinct user path.


Comments

Popular posts from this blog

Using 'OR' and 'AND' in SQL Server -

python - Finding intersection between ellipse and a line -

c++ - NetBeans Remote Development with additional configuration -