limits.conf not working ?

i edited /etc/security/limits.conf


@users hard maxlogins 2
@users hard cpu 2
@users hard memlock 102400
@users nproc nproc 15

.... it's not working .. i just started 30 bg processes ... and it let me do it  ... what did i do wrong ?
and i can log in with 3 or more sessions
keepwalkingAsked:
Who is Participating?
 
ahoffmannCommented:
do you have
  session  required   pam_limits.so

in /etc/pam.d/{login,sshd}
0
 
ahoffmannCommented:
is the user starting 30 bg proceses member of the netgroup users?
See /etc/netgroup
0
 
keepwalkingAuthor Commented:
i don't have such a thing as /etc/netgroup ... i am talking about a rh9 box here ...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.