You are not logged in.

#1 2021-08-05 09:58:32

galoot
Member
Registered: 2021-08-05
Posts: 2

[SOLVED} Set default user and directory

First post, search is giving error msg.
I'm accessing arch in VS code via WSL2.
It always boots up in [root@sp4 ~] and I have to 'sudo me' and 'cd' to get to my home directory..
How do I set arch to boot up as [me@sp4 ~]?

PS I've already added myself as user 'me'.

Last edited by galoot (2021-08-06 09:35:02)

Offline

#2 2021-08-05 14:44:28

seth
Member
Registered: 2012-09-03
Posts: 58,267

Offline

#3 2021-08-06 09:34:06

galoot
Member
Registered: 2021-08-05
Posts: 2

Re: [SOLVED} Set default user and directory

Thanks seth. I didn't twig it would be done in wsl. When searching I came across posts that described how to do it in arch by editing some file that didn't exist in my setup and was left wondering if this was because I was installing in a container so your second point is relevant. As I was doing it for the education I'm going to have to rethink this and setup a partition on my windows laptop or buy a second laptop dedicated to linux to avoid such confusion.

Offline

Board footer

Powered by FluxBB