Introduction
- The JS7 Agent for Unix is running in a specific user account and by default will execute jobs within the context and permissions of this account.
- Running a job as a different user includes to login as that user, optionally to load the user profile and to execute commands in this context.
- User switching applies to Shell Jobs and is performed by the built-in
sudo
andsu
capabilities of the operating system. - This article applies to the JS7 Agent for Unix only. For Windows environments see JS7 - Running Jobs as a different User
Prerequisites
To allow user switching the Agent's run-time account has to be added to the /etc/sudo.conf file.
Overview
Content Tools