From db32f78877cfa97e26b82e2bc2f5b66595e41646 Mon Sep 17 00:00:00 2001 From: bill-auger Date: Mon, 25 Sep 2017 02:58:07 -0400 Subject: allow in-tree build without parabolaiso package --- configs/profile/airootfs/root/customize_airootfs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configs/profile/airootfs/root') diff --git a/configs/profile/airootfs/root/customize_airootfs.sh b/configs/profile/airootfs/root/customize_airootfs.sh index 505a571..900cc9b 100755 --- a/configs/profile/airootfs/root/customize_airootfs.sh +++ b/configs/profile/airootfs/root/customize_airootfs.sh @@ -7,10 +7,11 @@ locale-gen ln -sf /usr/share/zoneinfo/UTC /etc/localtime -usermod -s /usr/bin/zsh root +usermod -s /usr/bin/zsh root 2> /dev/null cp -aT /etc/skel/ /root/ chmod 700 /root +[[ -n "$(id parabola 2> /dev/null)" ]] && userdel -r parabola 2> /dev/null useradd -m -p "" -g users -G "adm,audio,floppy,log,network,rfkill,scanner,storage,optical,power,wheel" -s /usr/bin/zsh parabola sed -i 's/#\(PermitRootLogin \).\+/\1yes/' /etc/ssh/sshd_config -- cgit v1.2.2