- https://github.com/yuk7/CentWSL
- get release CentOS7.zip
- mkdir somewhere(ex. %USERPROFILE%\AppData\Local\WSL\CentOS7), unpack (CentOS7.exe, rootfs.tar.gz) and run CentOS7.exe (install)
- run CentOS7.exe (launch root)
- adduser user
- gpasswd -a user wheel
- visudo -> NOPASSWD
- exit
- CentOS7.exe config --default-user user
- CentOS7.exe config --default-uid 1000
- CentOS7.exe config --default-term wt
enjoy.