Update 1-setup.sh

This commit is contained in:
Chris Titus 2021-10-22 21:44:02 -05:00
parent e188716eaf
commit 907e1a5bba
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 -p $password -G wheel,libvirt -s /bin/bash $username
[ ! -d "/home/$username" ] && useradd -m -G wheel,libvirt -s /bin/bash $username
passwd $username
cp -R /root/ArchTitus /home/$username/
chown -R $username: /home/$username/ArchTitus