ubuntu 16.04 重置用户密码

1).在启动项选择:Advaned options for Ubuntu. 
2).然后 选择:Ubuntu ,with Linux 3.13.0-24-generic (recovery mode),
3). 等待加载完成..你将看到”Recovery Menu (filesystem state :read-only)”
4).选择root              Drop to root shell prompt 就会进入单用户模式了..

然后是修改密码.
输入passwd user,回车后就出现 
 
authentication token manipulation error.
passwd unchanged..

接下来我就在不断的尝试….
找了很多文章看…CSDN,网易的什么都有

后来找到了一篇外国人写的… 
 http://linhost.info/2013/08/passwd-authentication-token-manipulation-error-ubuntu/

You probably encountered this error while trying to reset the password on a Ubuntu system.

 root@u13-04:~# passwd nyuser 
 
Enter new UNIX password: 
 
Retype new UNIX password: 
 
passwd: Authentication token manipulation error 
 
passwd: password unchanged

 

This is the result of trying to work on a file system while mounted as read-only. The solution is a simple one. Before making changes to the users password mount the filesystem as read-write which allows for the necessary changes to be made.
 

mount -o rw,remount /


Now try to change the users passwords again.

root@u13-04:~# passwd nyuser Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully

 
关键代码是:mount -o rw,remount / .
输入后就可以改了..注意..输入后什么也不会提示.

色卡备用

比较清新的色系

WordPress升级遇到Briefly unavailable for scheduled maintenance时的解决办法

这可是第一次遇到,没办法,找了一下,原来是在网站的根目录有一个.maintenance 文件,估计就是这个文件在作怪了,用FTP工具直接删除以后,发现一切正常了,...

AE软件中最常用快捷键大全

P :位置属性; T: 透明属性; R :旋转; F4 :切换(如切换出“3D”开关); C :选择摄像机工具; V :选择移动; H: 手动工具; Q:mask( 选中mask后按Shift...