[BACK]Return to login.conf.in CVS log [TXT][DIR] Up to [local] / src / etc

Annotation of src/etc/login.conf.in, Revision 1.2

1.2     ! millert     1: # $OpenBSD: login.conf.in,v 1.1 2005/08/15 00:40:17 millert Exp $
1.1       millert     2:
                      3: #
                      4: # Sample login.conf file.  See login.conf(5) for details.
                      5: #
                      6:
                      7: #
                      8: # Standard authentication styles:
                      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 YP password if the user has one, else change the
                     15: #              local password)
                     16: # lchpass      Do not login; change user's local password instead
                     17: # radius       Use radius authentication
                     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: #
                     24:
                     25: # Default allowed authentication styles
                     26: auth-defaults:auth=passwd,skey:
                     27:
                     28: # Default allowed authentication styles for authentication type ftp
                     29: auth-ftp-defaults:auth-ftp=passwd:
                     30:
                     31: #
                     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:\
                     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:\
                     43:        :datasize-max=@DEF_DATASIZE_MAX@:\
                     44:        :datasize-cur=@DEF_DATASIZE_CUR@:\
                     45:        :maxproc-max=@DEF_MAXPROC_MAX@:\
                     46:        :maxproc-cur=@DEF_MAXPROC_CUR@:\
                     47:        :openfiles-cur=@DEF_OPENFILES_CUR@:\
                     48:        :stacksize-cur=4M:\
                     49:        :localcipher=blowfish,6:\
                     50:        :ypcipher=old:\
                     51:        :tc=auth-defaults:\
                     52:        :tc=auth-ftp-defaults:
                     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:\
                     65:        :localcipher=blowfish,8:\
                     66:        :tc=default:
                     67:
                     68: #
                     69: # Staff have fewer restrictions and can login even when nologins are set.
                     70: #
                     71: staff:\
                     72:        :datasize-cur=@STAFF_DATASIZE_CUR@:\
                     73:        :datasize-max=@STAFF_DATASIZE_MAX@:\
                     74:        :maxproc-max=@STAFF_MAXPROC_MAX@:\
                     75:        :maxproc-cur=@STAFF_MAXPROC_CUR@:\
                     76:        :ignorenologin:\
                     77:        :requirehome@:\
1.2     ! millert    78:        :tc=default:
        !            79:
        !            80: #
        !            81: # Authpf accounts get a special motd and shell
        !            82: #
        !            83: authpf:\
        !            84:        :welcome=/etc/motd.authpf:\
        !            85:        :shell=/usr/sbin/authpf:\
1.1       millert    86:        :tc=default: