summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-08-06 14:55:52 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-08-06 14:55:52 +0000
commit2c5d007a2c3c022926456dab9b26c189370edaca (patch)
tree2e4b72d9c3241026a13647ef8f474fc8c2afd8fa /distrib
parent9221fa7212521e35bbba4d7108556dd6144068fd (diff)
match change to prohibit-password. however, also default to "no", as
as strong secure-by-default stance. people who upload root keys via site.tgz need to adjust sshd_config; those who load a root key via autoinstall should trigger on this question and select prohibit-password. discussed at length
Diffstat (limited to 'distrib')
-rw-r--r--distrib/miniroot/install.sub6
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 756bbc85c0b..0332da7be24 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.853 2015/08/06 13:15:53 deraadt Exp $
+# $OpenBSD: install.sub,v 1.854 2015/08/06 14:55:51 deraadt Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org>
@@ -1641,14 +1641,14 @@ ask_root_sshd() {
fi
echo "WARNING: root is targeted by password guessing attacks, pubkeys are safer."
while :; do
- ask "Allow root ssh login? (yes, no, pubkeys-only)" pubkeys-only
+ ask "Allow root ssh login? (yes, no, prohibit-password)" no
_resp=$resp
case $_resp in
y|yes) sshd_enableroot=yes
;;
n|no) sshd_enableroot=no
;;
- w|p|without-password|pubkeys-only)
+ w|p|without-password|prohibit-password)
sshd_enableroot=without-password
;;
*) echo "'$resp' is not a valid choice."