Xref: utzoo comp.unix.sysv386:7316 comp.bugs.sys5:1522 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!natinst!dell!baldur!dcm From: dcm@baldur.dell.com (Dave McCracken) Newsgroups: comp.unix.sysv386,comp.bugs.sys5 Subject: Re: Unix 5.4 and ulimit Message-ID: Date: 25 Apr 91 14:07:14 GMT References: <1991Apr21.140740.6766@gold.sub.org> <14432@attcan.UUCP> Sender: @dell.dell.com Organization: Dell Computer Corporation, Austin, Texas 78759-7299 Lines: 19 ram@attcan.UUCP (Richard Meesters) writes: >In article <1991Apr21.140740.6766@gold.sub.org>, root@gold.sub.org (Christian Seyb) writes: >You can overide this setting by using ULIMIT in /etc/default/login, but any >program that is exec'd setuid (ie: uucico), then ulimit will be set back to >the system wide defaults defined by SFSZLIM and HFSZLIM. I had forgotten about that little bug. The exec code in SVR4 1.0 and 2.0 will reset all your resource limits to the values from stune/mtune for any setuid program. I fixed it in Dell's version a long time ago to only reset it if the current value is less than the compiled-in values. AT&T has incorporated that bug fix into Version 3.0, so it will eventually appear elsewhere. -- Dave McCracken dcm@dell.dell.com (512) 343-3720 Dell Computer 9505 Arboretum Blvd Austin, TX 78759-7299