Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/releng/airootfs/root/customize_airootfs.sh
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2015-09-11 21:06:55 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2015-09-11 21:06:55 -0300
commit217a05eb86f3e8126aa61445185d1a581ae2ecb2 (patch)
treecbdd4e5ea1b46cb559d9695da76ade5328fabd12 /configs/releng/airootfs/root/customize_airootfs.sh
parent8e7601caae6ecc2af07563696281b9cb5038311c (diff)
[configs/releng] Fix (again) sshd root login
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
Diffstat (limited to 'configs/releng/airootfs/root/customize_airootfs.sh')
-rwxr-xr-xconfigs/releng/airootfs/root/customize_airootfs.sh2
1 files changed, 1 insertions, 1 deletions
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