Results 1 to 7 of 7

Thread: limitations

  1. #1
    Join Date
    Nov 2001
    Location
    Canada
    Posts
    1,963

    limitations

    Hi,

    I was wondering, is it possible to make it so the username "bob" on my linux box is limited to using only ___ of memory?

    is there a file i can edit for this?

    what about cpu?

    i have never heard of anything like that, although it might come in handy.

  2. #2
    Join Date
    Oct 2001
    Location
    Canada
    Posts
    157
    please check man login.conf

  3. #3
    Join Date
    Nov 2001
    Location
    Canada
    Posts
    1,963
    Uhm, there is no login.conf on redhat 7.2 atleast

  4. #4
    Join Date
    Jun 2002
    Location
    Silver Spring, Maryland
    Posts
    256
    /etc/login.conf is a very nice feature of FreeBSD. Now that I think about it, I it's probably a BSD feature, just FreeBSD is the only one I've used.

    FreeBSD's login.conf man page (If it's on the web, Google always seems to know it )

  5. #5
    Join Date
    Apr 2001
    Location
    Depok, Indonesia
    Posts
    988
    Under Linux, try /etc/security/limits.conf.

  6. #6
    Join Date
    Oct 2001
    Location
    Canada
    Posts
    157
    Sorry for being a FreeBSD addict. 4.6 is out now.
    Originally posted by no1v2
    /etc/login.conf is a very nice feature of FreeBSD. Now that I think about it, I it's probably a BSD feature, just FreeBSD is the only one I've used.

    FreeBSD's login.conf man page (If it's on the web, Google always seems to know it )

  7. #7
    Join Date
    Apr 2002
    Location
    Troy, MI
    Posts
    309
    /etc/secuirty/limits.conf is a PAM enabled feature, if not enabled via PAM prior to editing limits.conf then your changes will not take effect in the least.

    Refer to the below link for more information on setting up PAM resource limiting:
    http://www.webhostingtalk.com/showth...threadid=45887
    Ryan MacDonald
    Lead Administrator | TotalChoice Hosting
    Choice Does Matter! | Serving over 26,000 clients

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •