GRMLBASE/49-sshd: ensure that login as root via password works again
authorMichael Prokop <mika@grml.org>
Fri, 12 May 2017 14:11:41 +0000 (16:11 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 12 May 2017 14:14:13 +0000 (16:14 +0200)
commit52b53064ae9100cf67409a4bb0130f613629f5bf
tree00f92588c81617eac29805ae7b1123c0053276c5
parent487e689322d6ec9c4336f0b337fd5ed54267358e
GRMLBASE/49-sshd: ensure that login as root via password works again

openssh defaults to "prohibit-password" since openssh-server v1:7.1p1-1,
breaking our existing change regarding without-password.

While at it also improve the script to not readd the PermitRootLogin
and UseDNS configs with every single run, instead check for our
own modifications and skip them in further runs.

Closes grml/grml#12
etc/grml/fai/config/scripts/GRMLBASE/49-sshd