How to give unlock privilege to normal users

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
deepak_b73
Participant
Posts: 12
Joined: Thu Feb 16, 2006 1:06 am
Location: Bangalore
Contact:

How to give unlock privilege to normal users

Post by deepak_b73 »

Hi,

I have a peculiar probem. I need to give unlock privilege to normal users so that they can unlock their jobs.Job unlocking is not happening from Director. Jobs have to be unlocked through Administrator.For this team members should have Administrator privilege which We can't give.

That is why only job unlock privilege needs to be given to them so that they nly can do that not waiting for administrator.

Please tell me how this can be done.

Regards,
Deepak
Deepak Bhat
Bangalore
v2kmadhav
Premium Member
Premium Member
Posts: 78
Joined: Fri May 26, 2006 7:31 am
Location: London

Post by v2kmadhav »

Deepak

all you have to do is select Enable Job administration in director option in admin.

that would let any user clean up resources or clear status files on jobs.

cheers
VM
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Only an administrator can use UNLOCK. This fact is not negotiable.

You can build a routine that the owner of a lock might use to release that lock but it will not use UNLOCK - it will use RELEASE.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
prasad111
Premium Member
Premium Member
Posts: 173
Joined: Fri May 19, 2006 10:53 am

Post by prasad111 »

You can write a UNIX shell script for releasing the lock as a dsadm user.
Then the regular user can execute the script as a sudo user and pass the parameters project_name and job_name to release the locks.
Post Reply