I want to change the temporary directory used by a specific user (jenkins in my case). The problem is that this needs to be in effect for any process running as Jenkins user and changing it in .profile is not supposed to work because these are non-interactive logins.
How to change the tmp directory used by a specific service user?
environment variables;tmp