From owner-freebsd-questions Wed May 19 15:16:58 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id ED9101560F for ; Wed, 19 May 1999 15:16:56 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id PAA01412; Wed, 19 May 1999 15:16:51 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Wed, 19 May 1999 15:16:50 -0700 (PDT) From: Doug White To: Stanley.Hopcroft@ipaustralia.gov.au Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Dumb question. How does one get a user ID in a particular logon class ? In-Reply-To: <4A256775.000D2E03.00@noteshub01.aipo.gov.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 18 May 1999 Stanley.Hopcroft@ipaustralia.gov.au wrote: > Dear Ladies and Gentlemen, > > I am writing to ask how do non-root and non-default user-ids get the resource > limits specified in a particulat /etc/logon.conf class. > > My FreeBSD-2.2.8 STABLE host says about daemon class > > "# > # Settings used by /etc/rc > # > daemon:\" > > Does this mean that processes started by rc* eg inetd, nfsd get these resource > limits ? > > How does a real daemon that's not started by rc* get these limits ? Login limits come from the currently logged in user. Their class is set in the password file, and defaults to 'default' otherwise. > This goes back to the CANNOT FORK messages from Delegate, a daemon (ie long > running process) that SetSSIDs to nobody I think after starting as root. Older FreeBSD versions had too-low limits in login.conf. Have you tried pulling a new login.conf from -current or -stable? Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message