diff options
author | Gerardo Exequiel Pozzi <vmlinuz386@gmail.com> | 2015-09-11 21:06:55 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@gmail.com> | 2015-09-11 21:06:55 -0300 |
commit | 217a05eb86f3e8126aa61445185d1a581ae2ecb2 (patch) | |
tree | cbdd4e5ea1b46cb559d9695da76ade5328fabd12 | |
parent | 8e7601caae6ecc2af07563696281b9cb5038311c (diff) | |
download | archiso32-217a05eb86f3e8126aa61445185d1a581ae2ecb2.tar.xz |
[configs/releng] Fix (again) sshd root login
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
-rwxr-xr-x | configs/releng/airootfs/root/customize_airootfs.sh | 2 |
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 |