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

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -