Update 1-setup.sh
This commit is contained in:
parent
e188716eaf
commit
907e1a5bba
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue