Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 1996 14:49:53 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        jhenders@wimsey.com (John Henders)
Cc:        freebsd-questions@freefall.freebsd.org
Subject:   Re: raising user max limits on bootup for one user
Message-ID:  <199602272149.OAA06088@phaeton.artisoft.com>
In-Reply-To: <4gupus$47u@vanbc.wimsey.com> from "John Henders" at Feb 27, 96 03:29:32 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602272149.OAA06088>