ulimit -- You don't need sources! (kind of long)

Lyndon Nerenberg lyndon at cs.AthabascaU.CA
Fri May 5 02:19:04 AEST 1989


In article <5627 at xyzzy.UUCP> duncan at 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 at nexus.ca



More information about the Comp.bugs.sys5 mailing list