[arch-releng] [RFC] [PATCH] [configs/releng] Set old behavior of sshd PermitRootLogin -> yes
Gerardo Exequiel Pozzi
vmlinuz386 at gmail.com
Thu Jul 9 17:13:11 UTC 2015
Requested at FS#45563
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386 at gmail.com>
---
configs/releng/airootfs/root/customize_airootfs.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/releng/airootfs/root/customize_airootfs.sh b/configs/releng/airootfs/root/customize_airootfs.sh
index e1aaf99..ead9b70 100755
--- a/configs/releng/airootfs/root/customize_airootfs.sh
+++ b/configs/releng/airootfs/root/customize_airootfs.sh
@@ -11,6 +11,7 @@ usermod -s /usr/bin/zsh root
cp -aT /etc/skel/ /root/
chmod 700 /root
+sed -i 's/#\(PermitRootLogin \)no/\1yes/' /etc/ssh/sshd_config
sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist
sed -i 's/#\(Storage=\)auto/\1volatile/' /etc/systemd/journald.conf
--
2.4.5
More information about the arch-releng
mailing list