Date: Wed, 1 Mar 2000 07:25:53 -0800 (PST) From: Bhishan Hemrajani <bhishan@cytosine.dhs.org> To: Chris.Smith@raytheon.co.uk Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Fork problems (login.conf help req) Message-ID: <200003011525.HAA15087@cytosine.dhs.org> In-Reply-To: <00256895.003E384D.00@rslhub.raytheon.co.uk> from "Chris.Smith@raytheon.co.uk" at "Mar 1, 2000 11:15:33 am"
next in thread | previous in thread | raw e-mail | index | archive | help
What you do is, edit your login.conf. then, # cap_mkdb /etc/login.conf then, add the user to the class: # chfn user In the visual editor, type in the name of the class you would like to add him to, and exit. That's it. I don't think it requires any kernel options. Please correct me if I'm wrong. --bhishan > > > Hi, > > Some nice person wrote a nice C program and ran it on my system (I know who > - theyre going to be hanged this afternoon!):- > > main() { for(;;) fork(); } > > How can I at best limit the user's damage using process accounting (for > next time). I can add the corect entry to login.conf, but how do I attach > a user to that particular login class and do I need any kernel options > enabled? > > Thanks in advance > > Chris Smith > Raytheon Systems Limited > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > 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?200003011525.HAA15087>