From 217a05eb86f3e8126aa61445185d1a581ae2ecb2 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Fri, 11 Sep 2015 21:06:55 -0300 Subject: [configs/releng] Fix (again) sshd root login Signed-off-by: Gerardo Exequiel Pozzi --- configs/releng/airootfs/root/customize_airootfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs/releng/airootfs/root') diff --git a/configs/releng/airootfs/root/customize_airootfs.sh b/configs/releng/airootfs/root/customize_airootfs.sh index 4b595d0..bf5210c 100755 --- a/configs/releng/airootfs/root/customize_airootfs.sh +++ b/configs/releng/airootfs/root/customize_airootfs.sh @@ -11,7 +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/#\(PermitRootLogin \).\+/\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 -- cgit v1.2.3-70-g09d2