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

Re: How to set ulimit (nofile) for a daemon



On Thu, May 20, 2010 at 01:30:37AM +0200, Bernd Eckenfels wrote:
> In article <[🔎] 20100519225812.GB28995@dario.dodds.net> you wrote:
> > These daemons load pam_limits *when running on behalf of other users*.
> > That's an entirely different scenario than running a daemon per se.

> In the case of a java process started with an init script, it would be su
> doing the pam chain typically.

*Typically*, you would run the process using start-stop-daemon -u instead of
su, so again ther would be no PAM stack.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature


Reply to: