diff options
Diffstat (limited to 'configs/profile/airootfs/root')
-rwxr-xr-x | configs/profile/airootfs/root/customize_airootfs.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |