dropbear: enable PAM authentication if linux-pam is selected
authorCarlos Santos <casantos@datacom.com.br>
Fri, 29 Jun 2018 12:21:09 +0000 (09:21 -0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 30 Jun 2018 16:28:23 +0000 (18:28 +0200)
commit037b8616257067282e375edca9af19418a0e7a4a
treee0f725411ddfe3f813a537887d8a1a7990167df8
parent5b64a489bf27ae89efec6cd78d489cf0fb94ea5e
dropbear: enable PAM authentication if linux-pam is selected

- Disable password file authentication, since it's not possible to have
  both at once.
- Install a /etc/pam.d/sshd file, based on the one installed by openssh.

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Reviewed-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/dropbear/dropbear.mk
package/dropbear/etc-pam.d-sshd [new file with mode: 0644]