Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How can I give a non-root user permission to execute pthread_setschedparam() to set thread priorities?

Thank you

share|improve this question
add comment

1 Answer 1

Grant the CAP_SYS_NICE capability.

share|improve this answer
1  
+1. Extending the answer with how to do it would be awesome. –  user57260 Aug 12 '11 at 15:44
    
It turns out this is far from trivial. –  reinierpost Jun 25 at 16:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.