[Mauiusers] users can run setspri?

Bas van der Vlies basv at sara.nl
Thu Jul 1 03:19:23 MDT 2010


On 30-06-10 17:57, Bas van der Vlies wrote:
>
> On 30 jun 2010, at 17:41, Steve Young wrote:
>
>> Hi,
>> 	I'm using maui-3.3 and torque-2.4.7. I just noticed that my users are
>> able to increase/modify their system priority with the setspri
>> command. I thought that only ADMIN2 users would be allowed to do that?
>> Would there be something else that allows a user to execute this
>> command that I should be looking at? Thanks in advance for any advice.
>>
>> -Steve
>>
>
> Steve,
>
>   I can confirm this  behavior. Just tested it.  We are using maui-3,3. This is definitly a bug. The quick work around is to change the permission bits on setspri.
> Thanks for reporting
>
>
>

I have made a patch that only admin1 and admin1 can update the job 
priority. The patch is attached. Can this be applied?


-- 
********************************************************************
*  Bas van der Vlies                    e-mail: basv at sara.nl       *
*  SARA - Academic Computing Services   Amsterdam, The Netherlands *
********************************************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setspri_admin.patch
Type: text/x-patch
Size: 612 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/mauiusers/attachments/20100701/1bb65bea/attachment.bin 


More information about the mauiusers mailing list