Ubuntu Change default user when username has spaces

0

How would I write my command to make the command prompt reckognize the space in my username?

I'm trying to change the default user on my ubuntu system, but since my username has space in it, it creates some trouble.

I have both tried to use the back slash

C:\WINDOWS\system32>ubuntu1804 config --default-user Oskar\ B

And also use quotation marks

C:\WINDOWS\system32>ubuntu1804 config --default-user 'Oskar B'

Both of these return Error: 0x80070057 Incorrect parameter.

How do I avoid this?

cmd
ubuntu-18.04
asked on Stack Overflow Apr 7, 2021 by Oskar B

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0