From ca84fd0a9aea0dd94dde6fd1f9a6a509cec5a789 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Mon, 22 Feb 2016 13:42:32 +0100 Subject: [PATCH] openssh: allow login with password by default. --- srcpkgs/openssh/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/openssh/template b/srcpkgs/openssh/template index 9a6b6e27b82..aefd65183d8 100644 --- a/srcpkgs/openssh/template +++ b/srcpkgs/openssh/template @@ -1,7 +1,7 @@ # Template file for 'openssh' pkgname=openssh version=7.1p2 -revision=1 +revision=2 build_style=gnu-configure configure_args="--sbindir=/usr/bin --datadir=/usr/share/openssh --sysconfdir=/etc/ssh --without-selinux --with-privsep-user=nobody @@ -42,6 +42,7 @@ post_install() { sed -i \ -e 's|^#\(UsePAM\) no|\1 yes|g' \ + -e 's|^#\(PermitRootLogin\) .*|\1 yes|g' \ -e 's|^#\(ChallengeResponseAuthentication\) yes|\1 no|g' \ -e 's|^#\(PrintMotd\) yes|\1 no|g' \ ${DESTDIR}/etc/ssh/sshd_config