From owner-freebsd-questions Tue Feb 27 13:56:20 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA08797 for questions-outgoing; Tue, 27 Feb 1996 13:56:20 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA08783 for ; Tue, 27 Feb 1996 13:56:16 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id OAA06088; Tue, 27 Feb 1996 14:49:53 -0700 From: Terry Lambert Message-Id: <199602272149.OAA06088@phaeton.artisoft.com> Subject: Re: raising user max limits on bootup for one user To: jhenders@wimsey.com (John Henders) Date: Tue, 27 Feb 1996 14:49:53 -0700 (MST) Cc: freebsd-questions@freefall.freebsd.org In-Reply-To: <4gupus$47u@vanbc.wimsey.com> from "John Henders" at Feb 27, 96 03:29:32 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG Precedence: bulk > I would like to raise the limits for the news user from the defaults for > normal users. Is there some way I can do this for just the one user, or > do I have to do it globally, and other than raising maxusers is there > another way to do this? Run an suid root program as the shell and suid down to the user before execing the real shell. The real shell will inherit the modified defaults. BSDI uses the "user class" field to implement this type of thing. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.