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

Grant the CAP_SYS_NICE capability.

share|improve this answer
    
+1. Extending the answer with how to do it would be awesome. –  drak0sha Aug 12 '11 at 15:44
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.