Date: Thu, 2 Aug 2001 09:02:00 -0500 From: Lucas Bergman <lucas@slb.to> To: =?iso-8859-1?Q?Jo=E3o_Pagaime?= <jpsp@fccn.pt> Cc: freebsd-questions@freebsd.org Subject: Re: inetd/daemon limits Message-ID: <20010802090200.B94419@comp04.prc.uic.edu> In-Reply-To: <000d01c11b45$db85d8c0$dc0788c1@jpsp2>; from jpsp@fccn.pt on Thu, Aug 02, 2001 at 12:25:39PM %2B0100 References: <000d01c11b45$db85d8c0$dc0788c1@jpsp2>
next in thread | previous in thread | raw e-mail | index | archive | help
> I would like to impose limits (max. memory, mostly) on a service > spawned by the inetd... Of course I could configure system wide > limits through a kernel compilation, or "sysctl" calls, but I would > prefer to fine tune this limits to one specific service (imapd). Make a new login class in /etc/login.conf (called, say, "imapd") with the resource limits you want. Then, instead of putting just "root" in the fifth field of the imapd line of /etc/inetd.conf, put "root/imapd" to run with the new login class (the default is "daemon"). Lucas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010802090200.B94419>