Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-tgr!tgr!cuuxb!jab@lll-crg.ARPA From: jab@lll-crg.ARPA Newsgroups: net.unix-wizards Subject: Re: UNIX-WIZARDS Digest V1#150 (ulimit) Message-ID: <1215@brl-tgr.ARPA> Date: Wed, 4-Sep-85 09:45:05 EDT Article-I.D.: brl-tgr.1215 Posted: Wed Sep 4 09:45:05 1985 Date-Received: Thu, 5-Sep-85 09:03:22 EDT Sender: news@brl-tgr.ARPA Lines: 20 Guy Harris asked that AT&T start making "ulimit" default to REALLY high. I believe that it's being targeted as a "tunable" (like NINODE), since for binary systems, there isn't any way to change that include file. Until then, the best way to get this is to rename "/bin/login" to "/bin/xlogin" and make a (non-setuid) program that does the following: #define SET_SIZE 2 #define BIG (1<<14) /* size in blocks */ main(argc, argv) char **argv; { ulimit(SET_SIZE, BIG); execv("/bin/login.REAL", argv); perror("exec"); } This will give all TIMESHARING users high ulimits. (If you want this for all users, play this trick with "/etc/init" instead.) Jeff Bowles Lisle, IL