bash,linux nice - priority for users not root?

Is it possible to allow changing priority for users (not root) on linux?

bash-2.05b$ nice -n -5 ./sdf
nice: cannot set priority: Permission denied


i triend to add to etc/security/limits.conf

user hard priority -10
user soft priority -10


bot he still cant change priority by nice or renice

1. any way to do it?

2. any way to set default priority for proceses runned by this user?

 

 

 

 

Top