Home | History | Download | only in etc
      1 # $NetBSD: login.conf,v 1.2 2007/06/01 19:01:51 agc Exp $
      2 
      3 # Based on:
      4 # OpenBSD: login.conf,v 1.22 2005/08/12 18:48:20 millert Exp 
      5 
      6 #
      7 # Sample login.conf file.  See login.conf(5) for details.
      8 #
      9 
     10 #
     11 # The default values
     12 # Any value changed in the daemon class should be reset in default
     13 # class.
     14 #
     15 #default:\
     16 #	:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/pkg/bin /usr/pkg/sbin /usr/local/bin:\
     17 #	:umask=022:\
     18 #	:datasize-max=512M:\
     19 #	:datasize-cur=512M:\
     20 #	:maxproc-max=128:\
     21 #	:maxproc-cur=64:\
     22 #	:openfiles-cur=64:\
     23 #	:stacksize-cur=4M:
     24 
     25 #
     26 # Settings used by /etc/rc and root
     27 # This must be set properly for daemons started as root by inetd as well.
     28 # Be sure reset these values back to system defaults in the default class!
     29 #
     30 #daemon:\
     31 #	:ignorenologin:\
     32 #	:datasize=infinity:\
     33 #	:maxproc=infinity:\
     34 #	:openfiles-cur=128:\
     35 #	:stacksize-cur=8M:
     36 
     37 #
     38 # Staff have fewer restrictions and can login even when nologins are set.
     39 #
     40 #staff:\
     41 #	:datasize-cur=512M:\
     42 #	:datasize-max=infinity:\
     43 #	:maxproc-max=256:\
     44 #	:maxproc-cur=128:\
     45 #	:ignorenologin:\
     46 #	:requirehome@:
     47