index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | David Runge <dvzrv@archlinux.org> | 2020-05-31 00:27:15 +0200 |
---|---|---|
committer | David Runge <dvzrv@archlinux.org> | 2020-05-31 00:27:15 +0200 |
commit | 769fbecef3ea7411c6e68ff1c4838f49b7c5d648 (patch) | |
tree | c406f6dd968449010e7666074bf5daaf33924464 /configs/releng/airootfs | |
parent | 79a9ed111189fa0bc77ecd7a63877b064299ac4f (diff) |
-rwxr-xr-x | configs/releng/airootfs/root/customize_airootfs.sh | 2 |
diff --git a/configs/releng/airootfs/root/customize_airootfs.sh b/configs/releng/airootfs/root/customize_airootfs.sh index bf5210c..5a732c8 100755 --- a/configs/releng/airootfs/root/customize_airootfs.sh +++ b/configs/releng/airootfs/root/customize_airootfs.sh @@ -10,6 +10,8 @@ ln -sf /usr/share/zoneinfo/UTC /etc/localtime usermod -s /usr/bin/zsh root cp -aT /etc/skel/ /root/ chmod 700 /root +# unset the root password +passwd -d root sed -i 's/#\(PermitRootLogin \).\+/\1yes/' /etc/ssh/sshd_config sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist |