 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
wmweaver2
Joined: 29 Oct 2007 Posts: 111 Country: United States |
|
running remote job and applying credentials |
|
I have read the manual but am getting mixed results. When i start the agent as a user and apply different user credential the job fails.
see below
RROR com.softtreetech.jscheduler.business.runner.JobExecutorImpl - Job errors: Create process error. Extended error: ERROR4234 Can't set GID/EGID at ./runas.pl line 30.
When i start the agent as root and apply credentials for another user the job runs but when i check the system logs it runs as root.
Im confused, does the Agent actually uses the runas.pl files correct so that the one i need to start with root? If thats the case i am doing it correct and its still running as root.
This is exactly what the users guide says
Unix/Linux/Mac: 24x7 Scheduler must be run using root account in order to allow jobs using other user accounts
What about scheduler running on a WindowsXP OS pc using the Java multiplatform edition?
|
|
Fri Mar 14, 2008 3:26 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7949
|
|
|
|
In order for the agent to be able to create processes on behave of other users it must be started under root account. The agent uses runas.pl to start a process. Runas.pl starts running as a root user because it is launched from the agent, it then changes the user context of its own process to the specified user and launches the job command line, this is similar to how one would use su command. If you use ps command to monitor started processes process, try scheduling something taking a while to run, the runas and the launched process should appear running with the specified user account
On Windows platforms it is similar but the implementation is different. The scheduler is using runas.exe utility to create processes on behave of other users. It doesn't need to be a root account, but it needs "act as part of operation system" privilege and also "create and modify security tokens" privileges.
|
|
Fri Mar 14, 2008 3:55 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|