Date: Wed, 19 May 1999 15:16:50 -0700 (PDT) From: Doug White <dwhite@resnet.uoregon.edu> 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 ? Message-ID: <Pine.BSF.4.03.9905191516000.9085-100000@resnet.uoregon.edu> In-Reply-To: <4A256775.000D2E03.00@noteshub01.aipo.gov.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9905191516000.9085-100000>