Article View: comp.bugs.sys5
Article #1086Re: ulimit -- You don't need sources! (kind of long)
From: Lyndon Nerenberg
Date: Thu, 04 May 1989 16:19
Date: Thu, 04 May 1989 16:19
16 lines
1324 bytes
1324 bytes
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
Technical Details
Message-ID:
<562@aurora.AthabascaU.CA>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!lll-winken!uunet!ncc!atha!lyndonReferences:
<836@twwells.uucp> <4428@ihuxz.ATT.COM> <545@aurora.AthabascaU.CA> <8305@chinet.chi.il.us> <5627@xyzzy.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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