[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

User cannot set process priority nice --10 despite changes in limits.conf



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
#<domain>      <type>  <item>         <value>
#

#*               soft    core            0
#root            hard    core            100000
#*               hard    rss             10000
#@student        hard    nproc           20
#@faculty        soft    nproc           20
#@faculty        hard    nproc           50
#ftp             hard    nproc           0
#ftp             -       chroot          /ftp
#@student        -       maxlogins       4

# End of file
hlds             -       nice            -20

I'm still getting
Kod:
starach@debian:/> nice --5 cat logfile
nice: cannot set niceness: Permission denied
What could I have done wrong?

Reply to: