openssh: allow login with password by default.
This commit is contained in:
parent
1e0ed984c9
commit
ca84fd0a9a
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'openssh'
|
# Template file for 'openssh'
|
||||||
pkgname=openssh
|
pkgname=openssh
|
||||||
version=7.1p2
|
version=7.1p2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--sbindir=/usr/bin --datadir=/usr/share/openssh
|
configure_args="--sbindir=/usr/bin --datadir=/usr/share/openssh
|
||||||
--sysconfdir=/etc/ssh --without-selinux --with-privsep-user=nobody
|
--sysconfdir=/etc/ssh --without-selinux --with-privsep-user=nobody
|
||||||
|
@ -42,6 +42,7 @@ post_install() {
|
||||||
|
|
||||||
sed -i \
|
sed -i \
|
||||||
-e 's|^#\(UsePAM\) no|\1 yes|g' \
|
-e 's|^#\(UsePAM\) no|\1 yes|g' \
|
||||||
|
-e 's|^#\(PermitRootLogin\) .*|\1 yes|g' \
|
||||||
-e 's|^#\(ChallengeResponseAuthentication\) yes|\1 no|g' \
|
-e 's|^#\(ChallengeResponseAuthentication\) yes|\1 no|g' \
|
||||||
-e 's|^#\(PrintMotd\) yes|\1 no|g' \
|
-e 's|^#\(PrintMotd\) yes|\1 no|g' \
|
||||||
${DESTDIR}/etc/ssh/sshd_config
|
${DESTDIR}/etc/ssh/sshd_config
|
||||||
|
|
Loading…
Reference in a new issue