Jerome Forissier | dddfd73 | 2023-01-05 16:23:57 +0100 | [diff] [blame] | 1 | #! /bin/bash |
2 | # SPDX-License-Identifier: BSD-2-Clause | ||||
3 | |||||
4 | sed -i -e 's/#PermitEmptyPasswords no/PermitEmptyPasswords yes/' "$TARGET_DIR"/etc/ssh/sshd_config | ||||
5 | sed -i -e 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' "$TARGET_DIR"/etc/ssh/sshd_config |