[torqueusers] Use root to submit job

Aaron Cordero cordero.aaron at gene.com
Wed Dec 18 10:01:06 MST 2013


To set the acl_roots, at the prompt type

echo set server <servername> acl_roots = <userid>

or just type qmgr and use the same syntax as above

To see if it took effect:

echo p s @default | qmgr

Thanks


On Wed, Dec 18, 2013 at 8:56 AM, Kevin Sutherland <
sutherland.kevinr at gmail.com> wrote:

> To my understanding, by default, root cannot submit jobs, which is why it
> works as a different user. The information provided by Aaron should allow
> the changes you seek.
>
>
> On Wed, Dec 18, 2013 at 8:40 AM, Aaron Cordero <cordero.aaron at gene.com>wrote:
>
>> It is a setting within the pbs_server, here is the output from the
>> pbs_server_attributes man page:
>>
>> acl_roots
>>
>>                  List  of  super users who may submit to and execute jobs
>> at this server.  If the job execu-
>>
>>                  tion id would be zero (0), then the job owner, root at host,
>> must be  listed  in  this  access
>>
>>                  control  list  or the job is rejected.  Format:
>> "[+|-]user[@host][,...]"; default value: no
>>
>>                  root jobs allowed.
>>
>>
>> On Wed, Dec 18, 2013 at 12:03 AM, Lucas <lukcatchen at 126.com> wrote:
>>
>>>  hello,
>>>        My torque version is 2.5.5 and as we know this version of turque
>>> supports submit job as root using "-P" to specify a proxy user. Here is my
>>> command: *#qsub -q myqueue -P myname myJob*
>>>
>>>        But this doesn't work, server returns a message, say: *qsub:
>>> Unauthorized Request  MSG=cannot receive job script*
>>>
>>>        Anyone could give some help? many thinks.
>>>
>>> *ps: If I use account (not root) to qsub, I can submit job successfully.*
>>>
>>> Best regards,
>>> Lucas
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> torqueusers mailing list
>>> torqueusers at supercluster.org
>>> http://www.supercluster.org/mailman/listinfo/torqueusers
>>>
>>>
>>
>> _______________________________________________
>> torqueusers mailing list
>> torqueusers at supercluster.org
>> http://www.supercluster.org/mailman/listinfo/torqueusers
>>
>>
>
>
> --
> Kevin Sutherland
>
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20131218/0c6fcb1b/attachment.html 


More information about the torqueusers mailing list