NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: resource limits and login.conf



On Sat, 27 Sep 2025, Greg Troxel wrote:

 daemon:\
         :ignorenologin:\
         :datasize=4000M:\
         :openfiles=1024:\
         :maxproc=1024:\
         :maxthread=1024:\

 default|regular user:\
         :datasize=16000M:\
         :openfiles=8000:\
         :maxproc=2048:\
         :maxthread=8192:\


1. Record-names _must_ start on column 1.

2. The last line of a record should not end in `\'.

3. If it does, then the next line must be a blank line, even for the last
   record in the capfile (like your `default', above).

4. If a `.db' file exists, then that's used, even when a newer capfile exists.
   (For small files like `login.conf' don't bother making a `.db' file.)

-RVP


Home | Main Index | Thread Index | Old Index