Details
-
Fix
-
Status: Released (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unix
Description
If the root user starts the JobScheduler with
./bin/jobscheduler.sh start
then the user is changed to the JobScheduler user.
This mechanism is improved.
Previously the user was checked via the $USER variable and starts itself possibly
test "$USER" = "$SCHEDULER_USER" || exec su - $SCHEDULER_USER -c "$0 $*"
Sometimes the $USER environment variable is always empty so that an endless recursive call was possible.
Now the user change via su is only for one time called.