别人刚装的Ubuntu16.04 sever,root忘记了,哎。

1.进入recovery mode

  开机选择高级模式-> recovery mode->root

2.修改密码:

  #> passwd root

  显示错误:

  root@username-PC:~# passwd username
  Enter new UNIX password:
  Retype new UNIX password:
  passwd: Authentication token manipulation error
  passwd: password unchanged
 网上说是因为recovery mode下的根分区是以只读的方式挂载的,所以需要重新挂载:
 #> mount -rw -o remount /
 OK 问题解决
  

  原文链接:http://askubuntu.com/questions/91188/authentication-token-manipulation-error

相关文章:

  • 2021-12-06
  • 2021-12-27
  • 2021-11-22
  • 2021-06-24
  • 2021-04-05
  • 2021-08-16
  • 2021-09-16
猜你喜欢
  • 2021-08-18
  • 2021-10-10
  • 2021-07-06
  • 2021-07-24
  • 2022-01-01
  • 2021-12-06
相关资源
相似解决方案