I have been looking for a way to automatically apply reduced priority to some UniRPC connections based on the connecting user id.
I have tried creating a new 'conf' file in
/etc/security/limits.d.These files get applied by the PAM limits module for new login connections, but when the UniRPC daemon validates the credentials of the in-coming connection it appears to not be running through the PAM modules so when the uvcs / defcs / uvserver session is launched using the supplied user credentials the resulting PID is running with the default priority.
Does anyone know of a way to automatically have the launched uvcs / defcs / uvserver process use a non-default priority?


