[net.unix-wizards] ulimit on Sys V

espo@bpa.BELL-ATL.COM (Bob Esposito) (10/15/86)

	Can anyone shed some light on changing the ulimit of the
	executable unix (kernel)?  I know that ulimit is initially
	set by u.u_ulimit = CDLIMIT.

	CDLIMIT is defined as (1L<<11).  Can I use sdb to change it??
	Any help would be appreciated.


-- 
        //////////////////////////////////////////
        * Bob Esposito     espo@bpa.bell-atl.com *
        //////////////////////////////////////////

stuart@BMS-AT.UUCP (Stuart D. Gathman) (10/18/86)

In article <220@bpa.BELL-ATL.COM>, espo@bpa.BELL-ATL.COM (Bob Esposito) writes:

> 	Can anyone shed some light on changing the ulimit of the

We created a 'setlimit' command which is setuid and sets ulimit for
specific users at login.  You don't want the system as a whole creating
files bigger than 1 Meg.  (At least we don't.)
-- 
Stuart D. Gathman	<..!seismo!{vrdxhq|dgis}!BMS-AT!stuart>

bsteve@gorgo.UUCP (10/23/86)

If you are running on an AT&T box, and are on software maint. you can call
1 800 922 0354 and ask for a fix. They will gladly provide it free of charge.
If you wish to do it yourself; it can come in several forms. The most
comprehensive is (if you have source) recompile /etc/init with the appropriate
call in it. If not, an alternate version of /bin/login will do nicely, coupled
with a shell ulimit call in /etc/rc.

  Steve Blasingame (Oklahoma City)
  ihnp4!occrsh!gorgo!bsteve
  bsteve@eris.Berkeley.Edu