Hi,
Is there is way to globally set a default PATH variable? I'm running some daemons installed from binaries from users without home folder and the daemons need to run commands but can't find the binaries because there seems no PATH variable to be set. Its working if I edit all scripts to use absolute paths ("/usr/local/bin/mysql" instead of just "mysql") but that can't be the right way.
How to do this right if there is no home folder to place a ".shrc" or ".profile" in it?
Is there is way to globally set a default PATH variable? I'm running some daemons installed from binaries from users without home folder and the daemons need to run commands but can't find the binaries because there seems no PATH variable to be set. Its working if I edit all scripts to use absolute paths ("/usr/local/bin/mysql" instead of just "mysql") but that can't be the right way.
How to do this right if there is no home folder to place a ".shrc" or ".profile" in it?