[arch-releng] [RFC] [PATCH] [configs/releng] Set old behavior of sshd PermitRootLogin -> yes
9 Jul
2015
9 Jul
'15
5:13 p.m.
Requested at FS#45563 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@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
3457
Age (days ago)
3457
Last active (days ago)
0 comments
1 participants
participants (1)
-
Gerardo Exequiel Pozzi