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