vmware 解决 authentication token manipulation error

时间:2023-03-09 07:42:59
vmware  解决 authentication token manipulation error

vmvare虚拟机长时间未使用,导致再次登录的时候密码忘了,无法登录。

启动时长按shift,进入root(recovery)模式, (recovery mode),进入"Recovery Menu (filesystem state :read-only)",执行 passwd user时报错

Enter new UNIX password: 
 Retype new UNIX password: 
 passwd: Authentication token manipulation error 
 passwd: password unchanged

原因是文件系统是只读的,无法修改密码

重新挂载,mount -o rw,remount /

正确执行的结果是没有输出,再次执行passwd user结果显示 passwd update successfully