On 17 April 2011 11:21, Sebastian Tarach <[email protected]> wrote: > Hello, > > I'm trying to allow user hlds to be able to start game server daemon with > higher priority. Even though I've added fallowing line in > /etc/security/limits.conf > > hlds - nice -20 > > I'm still getting > > starach@debian:/> nice --5 cat logfile > nice: cannot set niceness: Permission denied > > What could I have done wrong?
Doesn't look to me like you're running the command as the user you specified in limits.conf. Jonathan -- Jonathan Matthews London, UK http://www.jpluscplusm.com/contact.html -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

