Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!lll-winken!uunet!ncc!atha!lyndon From: lyndon@cs.AthabascaU.CA (Lyndon Nerenberg) Newsgroups: comp.bugs.sys5 Subject: Re: ulimit -- You don't need sources! (kind of long) Summary: Half a fix is no fix. Keywords: ulimit Message-ID: <562@aurora.AthabascaU.CA> Date: 4 May 89 16:19:04 GMT References: <836@twwells.uucp> <4428@ihuxz.ATT.COM> <545@aurora.AthabascaU.CA> <8305@chinet.chi.il.us> <5627@xyzzy.UUCP> Reply-To: lyndon@nexus.ca Organization: Athabasca University Lines: 16 In article <5627@xyzzy.UUCP> duncan@rtp48.dg.com (W. Lee Duncan) writes: >I suppose all have already though of this, but you don't need sources >to modify login (or any other program). > >Simply move /bin/login to, e.g. /usr/lib/old_login (and make it non-setuid). >Then, create a new /bin/login program (which will be setuid to root): One problem with this is that cron jobs don't go through login. Yes I can add an explicit ulimit command to the command lines in cron, just as I can add wrappers around login. The fact that I have to do this on such a global scale argues that perhaps this limit shouldn't be there in the first place ... -- Lyndon Nerenberg Computing Services Athabasca University {alberta,attvcr,ncc}!atha!lyndon || lyndon@nexus.ca