Update 1-setup.sh

This commit is contained in:
Chris Titus 2021-10-22 21:48:22 -05:00
parent 907e1a5bba
commit f9443ecb14
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ echo "username=$username" >> ${HOME}/ArchTitus/install.conf
fi
if [ $(whoami) = "root" ];
then
[ ! -d "/home/$username" ] && useradd -m -G wheel,libvirt -s /bin/bash $username
useradd -m -G wheel,libvirt -s /bin/bash $username
passwd $username
cp -R /root/ArchTitus /home/$username/
chown -R $username: /home/$username/ArchTitus