limits.conf not working ?

Posted on 2005-05-08
Last Modified: 2007-12-19
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
Question by:keepwalking
    LVL 51

    Expert Comment

    is the user starting 30 bg proceses member of the netgroup users?
    See /etc/netgroup

    Author Comment

    i don't have such a thing as /etc/netgroup ... i am talking about a rh9 box here ...
    LVL 51

    Accepted Solution

    do you have
      session  required

    in /etc/pam.d/{login,sshd}

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
    BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (, affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now