Re: limits.conf: howto set core file size?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Patrick wrote:

> I would like to make sure that apps running as <some non-root user> can
> dump core of any size. Would adding the following line
> to /etc/security/limits.conf accomplish this?
>
> <user> soft core 0

I believe that will prevent the user from being able to create core files. Try this instead:

<user>   soft   core   unlimited
<user>   hard   core   unlimited

Keep in mind that limits.conf is only applied to logins. If you're running the apps from init scripts, modify them to include the following lines prior to launching the apps:

ulimit -Sc unlimited
ulimit -Hc unlimited

Matthew Roth
InterMedia Marketing Solutions
Software Engineer and Systems Developer


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux