summaryrefslogtreecommitdiff
path: root/configs
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
parent8e7601caae6ecc2af07563696281b9cb5038311c (diff)
downloadarchiso32-217a05eb86f3e8126aa61445185d1a581ae2ecb2.tar.xz
[configs/releng] Fix (again) sshd root login
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
Diffstat (limited to 'configs')
-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