WSL——在win10下使用linux子系统

 

WSL介绍:

Windows Subsystem for Linux

在win10下运行的linux子系统

https://zhuanlan.zhihu.com/p/34885179

WSL安装配置:

https://zhuanlan.zhihu.com/p/34885182

WSL在本机环境的路径:

C:\Users\你的用户名\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs

命名问题:

Enter new UNIX username: Abby
adduser: Please enter a username matching the regular expression configured
via the NAME_REGEX[_SYSTEM] configuration variable.  Use the `--force-badname'
option to relax this check or reconfigure NAME_REGEX.

In Ubuntu systems, the regex defining acceptable user names is found in /etc/adduser.conf.

A typical regex (found on my system) is:

NAME_REGEX="^[a-z][-a-z0-9_]*\$"

case-sensitive 所以首字幕不能是大写

参考:https://askubuntu.com/questions/232742/failed-to-create-user-due-to-regular-expression-error

发布了8 篇原创文章 · 获赞 0 · 访问量 182

猜你喜欢

转载自blog.csdn.net/K52hz/article/details/104290267