Re: pam_limits and nice value: does it work?



Hello again,
I found the solution,its not the 'nice' directive but the 'priority' which does the trick.
I misunderstood the man page in this case.
Bye,
udo.

On 23.07.2007, at 20:59, udo waechter wrote:

Hey all,
we want to make all programs from remote users run by a nice value.
I have made pam_limits have its own configuration file for /etc/ pam.d/ssh, where everybody is assigned a nice value of 10 (for both hard and soft)
I am not sure if this actually works, since top still shows a nice value of 0 for those processes launched by a user logged in via ssh.
All other pam_limit directives (maxlogins at al.) do work when setting them.
Does top simply not show the correct value, or does 'nice' not work for pam_limits?
Debian is etch.
Thanks,
udo.
--
---[ Institute of Cognitive Science @ University of Osnabrueck
---[ Albrechtstrasse 28, D-49076 Osnabrueck, 969-3362
---[ Eyes: http://www.zoide.net/
---[ Ears: http://www.auriculabovinari.de/



--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx