Unix 5.4 and ulimit
Dave McCracken
dcm at baldur.dell.com
Fri Apr 26 00:07:14 AEST 1991
ram at attcan.UUCP (Richard Meesters) writes:
>In article <1991Apr21.140740.6766 at gold.sub.org>, root at 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 at dell.dell.com (512) 343-3720
Dell Computer 9505 Arboretum Blvd Austin, TX 78759-7299
More information about the Comp.bugs.sys5
mailing list