SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
RunAs another user in UNIX

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
RunAs another user in UNIX
Author Message
jvaldes988



Joined: 01 Mar 2007
Posts: 35
Country: United States

Post RunAs another user in UNIX Reply with quote
Hello:

We have the 24x7 Scheduler (Multiplatform Java Edition) currently installed on a UNIX machine. When I log into the application (via X-Win32) I use a particular UNIX account (say user1). As such, I'm able to create various jobs, most of them running on same UNIX machine under different users (user2, user3, etc).

The problem we have is the 24x7 only run jobs that run as user1 and all other jobs that run as other users (not the one signed on the application) abort with exit code 65,459.

Please help us understand why this is happening.

Thanks in advance.
Fri Mar 23, 2007 12:06 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7966

Post Reply with quote
For that to work you must run the scheduler using the root user account. Only root account would let it run jobs using other user ID. Think of this as if the scheduler internally executing the su command to change user context before running a job.

An alternative method is to setup the scheduler in multiple directories - separate directory for each user, let's say user1 and user2 and start multiple instances of the scheduler using different user accounts. If you use remote connectivity, make sure to configure each instance to use different port numbers for the Listener. These port numbers can be changed Tools/Options menu; on the Network settings tab page; or edit preferences.xml in vi if you run the scheduler in console mode and then restart the scheduler with new settings. Of course in this scenario you would need to define 2 remotte profiles on the master scheduler site using same machine name but different port numbers that you have selected for different instances.
Fri Mar 23, 2007 12:51 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
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


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.