Results 1 to 3 of 3

Thread: Setting ulimit at boot?

  1. #1
    Join Date
    Mar 2011
    Beans
    701

    Setting ulimit at boot?

    I'd like to set up a ulimit at bootup for a specific user, so that the user can only run a single process. Best way to do this?
    sig

  2. #2
    Join Date
    Oct 2013
    Location
    Unknown
    Beans
    Hidden!

    Re: Setting ulimit at boot?

    Hi Hungry Man,

    I know this isn't a direct answer to your question, but it may be a good idea to work with pam_limits for a bit more flexibility.

    Below are some links that should get you started:
    http://linux.die.net/man/8/pam_limits
    http://linux.die.net/man/5/limits.conf
    http://www.linux-pam.org/Linux-PAM-h...am_limits.html

    I hope this helps!

  3. #3
    Join Date
    Mar 2011
    Beans
    701

    Re: Setting ulimit at boot?

    Unfortunately I have not been able to get PAM to enforce.
    sig

Bookmarks

Posting Permissions

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