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.

86 lines
2.4 KiB

23 years ago
23 years ago
23 years ago
23 years ago
  1. # $OpenBSD: login.conf.in,v 1.3 2010/12/17 05:33:06 tedu Exp $
  2. #
  3. # Sample login.conf file. See login.conf(5) for details.
  4. #
  5. #
  6. # Standard authentication styles:
  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 YP password if the user has one, else change the
  13. # 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 allowed authentication styles
  23. auth-defaults:auth=passwd,skey:
  24. # Default allowed authentication styles for authentication type 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=@DEF_DATASIZE_MAX@:\
  39. :datasize-cur=@DEF_DATASIZE_CUR@:\
  40. :maxproc-max=@DEF_MAXPROC_MAX@:\
  41. :maxproc-cur=@DEF_MAXPROC_CUR@:\
  42. :openfiles-cur=@DEF_OPENFILES_CUR@:\
  43. :stacksize-cur=4M:\
  44. :localcipher=blowfish,@DEF_BLOWFISH_RNDS@:\
  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,@ROOT_BLOWFISH_RNDS@:\
  60. :tc=default:
  61. #
  62. # Staff have fewer restrictions and can login even when nologins are set.
  63. #
  64. staff:\
  65. :datasize-cur=@STAFF_DATASIZE_CUR@:\
  66. :datasize-max=@STAFF_DATASIZE_MAX@:\
  67. :maxproc-max=@STAFF_MAXPROC_MAX@:\
  68. :maxproc-cur=@STAFF_MAXPROC_CUR@:\
  69. :ignorenologin:\
  70. :requirehome@:\
  71. :tc=default:
  72. #
  73. # Authpf accounts get a special motd and shell
  74. #
  75. authpf:\
  76. :welcome=/etc/motd.authpf:\
  77. :shell=/usr/sbin/authpf:\
  78. :tc=default: