On Sat, Apr 24, 1999 at 04:39:20PM +0200, Andrzej Bialecki wrote:
> On Sat, 24 Apr 1999, Stephane Legrand wrote:
> 
> >  > That's also my impression. I glipmsed the whole source tree and I 
> > couldn't
> >  > find any place where the limits are enforced. BTW. what entity should
> >  > enforce login time limits? Kernel? Some user-space daemon?
> >  > 
> > 
> > To report a login.conf success, i've used on a 2.2.8 system the
> > "cputime" ressource limit. I set it to zero and that worked very
> > well. So may be only some limits are implemented ?

cputime is just a plain old process rlimit. Implementing it should be
as easy as calling setrlimit(). On the other hand, login time is a
different story. Generally I've found that most of the stuff in login.conf,
at least that which does things like setting rlimits, environment, and
modifying some login behavior (motd, nologin, mail check, etc.) works.

-- 
Nathan Dorfman <nat...@rtfm.net>         The statements and opinions in my
Unix Admin @ Frontline Communications    public posts are mine, not FCC's.
"The light at the end of the tunnel is the headlight of an approaching
train." --/usr/games/fortune


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to