• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 393
  • Last Modified:

ulimit quesiton

can we change the ulimit parameter for specific user or is it system wide setup?
0
mokkan
Asked:
mokkan
3 Solutions
 
point_pleasantCommented:
in /etc/security/limits


add the user and set limits


newuser:
        fsize =
        data =
        stack =
        fsize_hard =
        nofiles =
        nofiles_hard =



newuser will have to relogin to get new settings



0
 
woolmilkporcCommented:
ulimit is user specific.

Set it (logged in as root) in /etc/limits.conf on a per-user basis.

Here is the manpage of limits.conf, with examples:

http://linux.die.net/man/5/limits.conf

wmp
0
 
wesly_chenCommented:
Just one note:
Most of modem Linux put limits.conf under /etc/security/limits.conf.
Do
find /etc/ -name limits.conf
will tell where the limits.conf locates at your system.

ulimit can be system wide or per user base.
In limits.conf
--------------
System wide:
* soft core  0

Per user:
user1 soft core 0
0
 
mokkanAuthor Commented:
thank you
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.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now