I have a process that runs under a nologin user (in this case Tomcat server).
I would like to execute some shell commands from that process but most of them are not available apart from standard utilities like
In my particular case I want to use some scripts that are available in
/usr/local and for normal login users it's enough to just
source an init script in
source for nologin users doesn't seem to be working as well as the
I've tried adding the necessary lines to
/etc/bash.bashrc but that also doesn't work.
Is there any other way than just copying the binaries into
I'm using Ubuntu 14.04 right now.