Annotation of src/etc/login.conf, Revision 1.16
1.16 ! pvalchev 1: # $OpenBSD: login.conf,v 1.15 2004/05/17 19:07:57 drahn Exp $
1.1 millert 2:
3: #
4: # Sample login.conf file. See login.conf(5) for details.
5: #
6:
1.7 millert 7: #
8: # Standard authentication types:
9: #
10: # krb5-or-pwd First try Kerberos V password, then local password file
11: # passwd Use only the local password file
12: # krb5 Use only the Kerberos V password
13: # chpass Do not authenticate, but change users password (change
14: # the kerberos password if the user has one, else change
15: # the local password)
16: # lchpass Do not login; change user's local password instead
1.8 millert 17: # radius Use radius authentication
1.7 millert 18: # skey Use S/Key authentication
19: # activ ActivCard X9.9 token authentication
20: # crypto CRYPTOCard X9.9 token authentication
21: # snk Digital Pathways SecureNet Key authentication
22: # token Generic X9.9 token authentication
23: #
1.4 millert 24:
1.13 deraadt 25: # Default authentication methods
1.12 deraadt 26: auth-defaults:auth=passwd,skey:
1.4 millert 27:
1.13 deraadt 28: # Default authentication methods for ftp
1.12 deraadt 29: auth-ftp-defaults:auth-ftp=passwd:
1.7 millert 30:
1.10 deraadt 31: #
1.7 millert 32: # The default values
33: # To alter the default authentication types change the line:
34: # :tc=auth-defaults:\
35: # to be read something like: (enables passwd, "myauth", and activ)
36: # :auth=passwd,myauth,activ:\
1.1 millert 37: # Any value changed in the daemon class should be reset in default
38: # class.
39: #
40: default:\
41: :path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin:\
42: :umask=022:\
1.2 millert 43: :datasize-max=256M:\
1.15 drahn 44: :datasize-cur=75M:\
1.1 millert 45: :maxproc-max=128:\
46: :maxproc-cur=64:\
47: :openfiles-cur=64:\
1.4 millert 48: :stacksize-cur=4M:\
1.5 millert 49: :localcipher=blowfish,6:\
50: :ypcipher=old:\
1.4 millert 51: :tc=auth-defaults:\
52: :tc=auth-ftp-defaults:
1.1 millert 53:
54: #
55: # Settings used by /etc/rc and root
56: # This must be set properly for daemons started as root by inetd as well.
57: # Be sure reset these values back to system defaults in the default class!
58: #
59: daemon:\
60: :ignorenologin:\
61: :datasize=infinity:\
62: :maxproc=infinity:\
63: :openfiles-cur=128:\
64: :stacksize-cur=8M:\
1.5 millert 65: :localcipher=blowfish,8:\
1.1 millert 66: :tc=default:
67:
68: #
69: # Staff have fewer restrictions and can login even when nologins are set.
70: #
71: staff:\
1.15 drahn 72: :datasize-cur=75M:\
1.1 millert 73: :datasize-max=infinity:\
1.3 millert 74: :maxproc-max=256:\
75: :maxproc-cur=128:\
1.16 ! pvalchev 76: :openfiles-cur=128:\
1.1 millert 77: :ignorenologin:\
78: :requirehome@:\
79: :tc=default: