diff --git a/wsl-oobe.sh b/wsl-oobe.sh index b246933..780dadd 100644 --- a/wsl-oobe.sh +++ b/wsl-oobe.sh @@ -40,13 +40,5 @@ cat > /etc/sudoers.d/wsluser << EOF $username ALL=(ALL) NOPASSWD: ALL EOF -# Set the default user; necessary when this script is manually run in versions -# of WSL prior to 2.4. -cat >> /etc/wsl.conf << EOF - -[user] -default = "$username" -EOF - echo 'Your user has been created, is included in the wheel group, and can use sudo without a password.' echo "To set a password for your user, run 'sudo passwd $username'"