blob: 6ca438834fe3d7e7e7cd0e269010dfd18fe9d10d [file] [log] [blame]
Jerome Forissierdddfd732023-01-05 16:23:57 +01001#! /bin/bash
2# SPDX-License-Identifier: BSD-2-Clause
3
4sed -i -e 's/#PermitEmptyPasswords no/PermitEmptyPasswords yes/' "$TARGET_DIR"/etc/ssh/sshd_config
5sed -i -e 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' "$TARGET_DIR"/etc/ssh/sshd_config