当前位置:网站首页>win10子系统 WSL如果root和其他用户的密码都忘记的修复方法
win10子系统 WSL如果root和其他用户的密码都忘记的修复方法
2022-06-30 01:24:00 【棠樾】
1、先修改root用户的密码:
1、以管理员身份打开 PowerShell ;
2、输入命令 wsl.exe --user root ;
3、命令 passwd root 修改 root 用户密码。
2、再修改其他用户的密码:
1、进入Ubuntu,打开一个终端,输入 sudo su转为root用户。 注意,必须先转为root用户!!!
2、sudo passwd user(user 是对应的用户名)
3、输入新密码,确认密码。
4、修改密码成功,重启,输入新密码进入Ubuntu
边栏推荐
- Some thoughts on small program subcontracting and verification of uiniapp subcontracting optimization logic
- C language final without failing (Part 1)
- numpy的索引和图片的索引一样吗?
- Varnish 基础概览7
- 城市规划馆在设计制作上需要注意什么
- Varnish 基础概览10
- Cub school learning: manual query and ADC in-depth use
- ES6 synchronous asynchronous execution and block level scope
- 【深度学习编译】算子编译 IR 转换
- c语言选择,循环概述
猜你喜欢

R语言线性回归模型拟合诊断异常值分析家庭燃气消耗量和卡路里实例带自测题

Statsmodels notes STL

Transaction summary on June 25, 2022

How to refuse the useless final review? Ape tutoring: it is important to find a suitable review method

Questions about database: database attachment

MySQL installation steps (detailed)

I learned database at station B (V): DQL exercise

Pytroch Learning Notes 6: NN network layer convolution layer

Mechanical --nx2007 (UG) -- gap analysis (interference inspection)

Solving plane stress problem with MATLAB
随机推荐
Varnish 基础概览7
Ansible ad-hoc 临时命令
How to unify the use of package manager in a project?
cookie加密11
I, 33 years old, ByteDance test development, unveiled the real income of Beijing "test post"
Vl6180x distance and light sensor hands-on experience
VIM editor common instructions
Solving plane stress problem with MATLAB
RubyMine开发工具,重构和意图操作
C language selection, loop overview
ctfshow 大赛原题 680-695
[mrctf2020]ezpop-1 | PHP serialization
Varnish 基础概览2
81. search rotation sort array II
Vant weave - remove (clear) < van button > button component Click to display gray background effect
存储引擎分析
Machine learning notes: time series decomposition STL
cookie加密9
js内容混淆,返回内容加密
[recommendation system] concise principle and code implementation of user based collaborative filtering