ulimit (was: getty/login for callback)

Pat "King of the Trenches" Calhoun pat at mslanpar
Thu Apr 20 12:25:02 AEST 1989


In article <827 at twwells.uucp>, bill at twwells.uucp (T. William Wells) writes:
> This is what I heard, also. But it fails to explain why increasing
> ones ulimit is restricted to root. If ulimit is only a safety belt,
> there isn't any good reason for preventing one from tightening or
> loosening it as needed.
> 

	WARNING: NO SPACE ON DISK 0 PARTITION 0!!! :=)

	In most states, safety belts are not an option. With this in
	mind, it would be useless to have a safety device that could
	be overridden by anyone. This defeats the purpose of having 
	a ulimit.  The message above is not a fantasy, but reality,
	and when it does occur, it's usually a pain to clear out the 
	files (making sure not to get rid of anything of value!)

	To ease the burden of having a low ulimit size as a global 
	default. I have written up new shell which will scan for
	the user's name in a config file which also contains the
	value to be used for that particular user. You might want to
	try this, or modify the 'inittab' entry to look something like
	this:

	ttyxx:nnn:respawn:sh -c 'ulimit nnnn; exec /etc/getty ...'

	This will set the ulimit size for that particular port 
	regardless of the effective user id.


	_^_ |||			Pat "King of the Trenches" Calhoun
       <o o> |			Technical Support Group, Lanpar Technologies
      /\/\/\/\/\	UUCP:   ...!attcan!nebulus!tslanpar!mslanpar
		  DISCLAIMER:   "Read the DAMN manual, I don't need this SHIT!!"



More information about the Comp.bugs.sys5 mailing list