欢迎您访问 最编程 本站为您分享编程语言代码,编程技术文章!
您现在的位置是: 首页

为新安装的 WSL 设置根密码

最编程 2024-07-06 22:33:28
...
Installing, this may take a few minutes... Please create a default UNIX user account. The username does not need to match your Windows username. For more information visit: https://aka.ms/wslusers Enter new UNIX username: xurm New password: Retype new password: passwd: password updated successfully Installation successful! To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. Welcome to Ubuntu 20.04.3 LTS (GNU/Linux 5.15.79.1-microsoft-standard-WSL2 x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Wed Feb 22 11:05:18 CST 2023 System load: 0.11 Processes: 9 Usage of /: 0.1% of 1006.85GB Users logged in: 0 Memory usage: 7% IPv4 address for eth0: 172.28.161.50 Swap usage: 0% 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update This message is shown once a day. To disable it please create the /home/xurm/.hushlogin file. xurm@xurm-pad:~$ su root Password: su: Authentication failure xurm@xurm-pad:~$

推荐阅读