![](/style/images/good.png)
2
![](/style/images/bad.png)
修改WSL默认登录用户
source link: https://www.liesauer.net/blog/post/746.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
修改WSL默认登录用户
修改WSL默认登录用户
添加以下内容到/etc/wsl.conf
中
[user]
default=USERNAME
修改WSL默认登录位置
添加以下内容到~/.bashrc
中
cd ~
修改WSL主机名
添加以下内容到/etc/wsl.conf
中
[network]
hostname=HOSTNAME
添加ROOT权限
切换到root账号,添加以下内容到/etc/sudoers
中
USERNAME ALL=(ALL:ALL) ALL
添加新评论
称呼
当有人回复时接收邮件提醒
网站
内容
- 上一篇: 百度网盘SVIP超低价197元/年续费(官方活动链接)
- 下一篇: 没有了
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK