wsl 설정

sangjun

·

2022. 1. 3. 17:07

1. ubuntu1804 config --default-user pwn -> root에서 일반 사용자로 변경

2. 기본 디렉토리 ~로 변경

https://github.com/microsoft/terminal/issues/3286

 

Set default WSL path to distro $HOME · Issue #3286 · microsoft/terminal

Set default WSL path to distro $HOME The default path for WSL distros is currently the Windows user path (%USERPROFILE%) but it's may be better to set it to the distro $HOME. Proposed technical...

github.com

3. sudoers에 사용자 이름 넣기

sudo nano /etc/sudoers
Then add the user below admin user like below syntax.

user_name ALL=(ALL)  ALL