Source code pulled from OpenBSD for OpenNTPD. The place to contribute to this code is via the OpenBSD CVS tree.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
2.0 KiB

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