Browse Source

allow default blowfish rounds to be tweakable by arch, no behavioral change

ok deraadt
OPENBSD_4_9
tedu 14 years ago
parent
commit
a4a61f54ff
2 changed files with 6 additions and 4 deletions
  1. +3
    -3
      src/etc/login.conf.in
  2. +3
    -1
      src/etc/mklogin.conf

+ 3
- 3
src/etc/login.conf.in View File

@ -1,4 +1,4 @@
# $OpenBSD: login.conf.in,v 1.2 2007/01/09 10:20:12 millert Exp $
# $OpenBSD: login.conf.in,v 1.3 2010/12/17 05:33:06 tedu Exp $
#
# Sample login.conf file. See login.conf(5) for details.
@ -46,7 +46,7 @@ default:\
:maxproc-cur=@DEF_MAXPROC_CUR@:\
:openfiles-cur=@DEF_OPENFILES_CUR@:\
:stacksize-cur=4M:\
:localcipher=blowfish,6:\
:localcipher=blowfish,@DEF_BLOWFISH_RNDS@:\
:ypcipher=old:\
:tc=auth-defaults:\
:tc=auth-ftp-defaults:
@ -62,7 +62,7 @@ daemon:\
:maxproc=infinity:\
:openfiles-cur=128:\
:stacksize-cur=8M:\
:localcipher=blowfish,8:\
:localcipher=blowfish,@ROOT_BLOWFISH_RNDS@:\
:tc=default:
#


+ 3
- 1
src/etc/mklogin.conf View File

@ -5,7 +5,7 @@
#
# Usage: mklogin.conf [overrides_file] < login.conf.in > login.conf.out
#
# $OpenBSD: mklogin.conf,v 1.5 2010/12/02 20:41:13 millert Exp $
# $OpenBSD: mklogin.conf,v 1.6 2010/12/17 05:33:06 tedu Exp $
BEGIN {
# Default substitutions
@ -19,6 +19,8 @@ BEGIN {
values["STAFF_MAXPROC_MAX"]="512"
values["STAFF_MAXPROC_CUR"]="128"
values["STAFF_OPENFILES_CUR"]="128"
values["DEF_BLOWFISH_RNDS"]="6"
values["ROOT_BLOWFISH_RNDS"]="8"
# Optional overrides
if (ARGC > 1) {


Loading…
Cancel
Save