summaryrefslogtreecommitdiff
path: root/configs/releng
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2015-07-09 14:09:53 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2015-07-09 14:09:53 -0300
commit8de9b98cad36a93f27b7bda4a907af1a9ed6b97b (patch)
tree393ac9410c48b96a57bf66a694252092731ff8ae /configs/releng
parentf1a445ad4e6e7492a2dc36248dbc500ac28f59b1 (diff)
downloadarchiso32-8de9b98cad36a93f27b7bda4a907af1a9ed6b97b.tar.xz
[configs/releng] Set old behavior of sshd PermitRootLogin -> yes
Requested at FS#45563 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
Diffstat (limited to 'configs/releng')
-rwxr-xr-xconfigs/releng/airootfs/root/customize_airootfs.sh1
1 files changed, 1 insertions, 0 deletions
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