新用户密码中止(passwd)

新用户密码中止(passwd)

如果最初没有设置密码,可以更改密码吗?

下面的状态是password unchanged,但是从哪里开始呢?它是用随机值初始化的吗?

Enter new UNIX username: user1
New password:
Retype new password:
Sorry, passwords do not match.
passwd: Authentication token manipulation error
passwd: password unchanged
Try again? [y/N] N

Installation successful!
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

Welcome to Ubuntu 22.04.2 LTS (GNU/Linux 5.15.90.1-microsoft-standard-WSL2 x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

相关内容