ubuntu下使用passwd问题记录
解决方法
sudo su
获得root身份后在使用刚才的passwd命令重新设置密码就搞定了。
出现错误
1. passwd: Authentication token manipulation error
2. passwd: password unchanged
hert@hert-T440p:~$ sudo passwd ftp_hert
Enter new UNIX password:
passwd: Authentication token manipulation error
passwd: password unchanged
切换到root
hert@hert-T440p:~$ su root
Password:
su: Authentication failure
设置root密码
hert@hert-T440p:~$ passwd root
passwd: You may not view or modify password information for root.
hert@hert-T440p:~$ sudo passwd root
Enter new UNIX password:
passwd: Authentication token manipulation error
passwd: password unchanged