jab@lll-crg.ARPA (09/04/85)
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