解决"authentication token manipulation error"
后来还是要改了. 不想重新弄什么的了..百度了下怎么改密码...然后就有一篇文章说是在进入系统前进入高级模式..然后里面有root的单用户模式..-----kohna,
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 / .
输入后就可以改了..注意..输入后什么也不会提示.
Ubuntu 14.04中root 密码忘记解决方法
方法一:
如果用户具有sudo权限,那么直接可以运行如下命令:
#sudo su root
#passwd
#更改密码
或者直接运行sudo passwd root命令就可以直接更改root密码。
有关sudo su的区别:
1.共同点:都是root用户的权限;
2.不同点:su仅仅取得root权限,工作环境不变,还是在切换之前用户的工作环境;sudo是完全取得root的权限和root的工作环境。

www.linuxidc.com@linuxidc:~$ sudo su root
[sudo] password for www.linuxidc.com:
root@linuxidc:/home/www.linuxidc.com# passwd
输入新的 UNIX 密码:
重新输入新的 UNIX 密码:
passwd:已成功更新密码
root@linuxidc:/home/www.linuxidc.com#
方法二:
如果用户不具备sudo权限,则方法一不能用,并需进入GRUB修改kernel镜像启动参数。本文使用的Ubuntu版本为14.04.4,具体过程如下为:
1、重启电脑长按shift键直到进入下图进入GRUB引导模式,选择第二行Ubuntu 高级选项, 选中直接回车 ,如下图:

2、进入如下画面,看到里面有一些选项,这时千万不要按回车键,按e进入(recovery mode) 编译kernel进行启动参数

3、关键的时候到了, 倒数第四行,会看到一行Linux /boot/vmlnuz-4.2.0-27-generic .......ro recovery nomodeset,
删除recovery nomodeset

3、然后再刚才删除的后面添加 quiet splash rw init=/bin/bash。然后按F10, 启动。

4 如果一切争取,运行后系统直接进入root mode,输入:passwd,系统会提示你输入新的密码,结束。

解决"authentication token manipulation error"的更多相关文章
- vmware 解决 authentication token manipulation error
vmvare虚拟机长时间未使用,导致再次登录的时候密码忘了,无法登录. 启动时长按shift,进入root(recovery)模式, (recovery mode),进入"Recovery ...
- Authentication token manipulation error报错解决办法
Authentication token manipulation error报错解决办法 #参考http://blog.163.com/junwu_lb/blog/static/1916798920 ...
- linux修改密码出现Authentication token manipulation error的解决办法
转自 :http://blog.163.com/junwu_lb/blog/static/1916798920120103647199/ Authentication token manipulati ...
- 无法修改linux/ubuntu密码(Authentication token manipulation error )问题解决过程【转】
转自:https://blog.csdn.net/caizi001/article/details/38659189 Vmware虚拟机里的ubunut系统长期不用,密码忘记了,无奈只能通过slax ...
- authentication token manipulation error
用户服务器中修改密码,输入passwd命令后,报错authentication token manipulation error 发生该错误原因是: 1.分区没有空间导致. 2./etc/pass ...
- linux中普通用户修改密码出现(passwd:Authentication token manipulation error)
如果在linux中,不管是root用户还是普通用户登录后,修改自己的密码,出现---passwd:Authentication token manipulation error---错误的解决办法: ...
- Ubuntu忘记用户密码解决方法--Authentication token manipulation error
1.重启系统,按住shift键进入grub菜单: 2.选择recovery mode恢复模式: 3.在recovery menu中选择root drop to root shell prompt: 4 ...
- 解决:阿里云服务器被植入挖矿程序后修改密码失败的问题(报错:passwd: Authentication token manipulation error)
如下图,在修改密码的时候会报错 原因: 通常不能修改密码都是/etc/passwd文件或者/etc/shadow文件被锁住了 解决: 检查/etc/passwd文件和/etc/shadow文件是否被锁 ...
- Authentication token manipulation error for ubuntu ubuntu-16.04.1-desktop-amd64
https://ubuntuforums.org/showthread.php?t=1772894 Hi, I faced the same problem when I tried to recov ...
随机推荐
- FastAdmin 如何升级?
FastAdmin 如何升级? 官方推荐使用 git 升级 FastAdmin. 升级 FastAdmin 核心代码 git stash git pull git stash pop 更新前端组件 比 ...
- Java中的静态方法能否被重写
能重写,但没有多态:https://blog.csdn.net/ghgzczxcvxv/article/details/43966243
- Android照片墙完整版,完美结合LruCache和DiskLruCache
转载地址:http://blog.csdn.net/guolin_blog/article/details/34093441#comments 在上一篇文章当中,我们学习了DiskLruCache的概 ...
- 黄聪:VS2010中“新建项目”却没有“解决方案”节点,如何调出来
工具->选项->项目和解决方案 把"总是显示解决方案"打 √ 就ok 了
- phpstudy mysql无法启动
在安装好phpstudy后,Apache可以启动,Mysql无法启动. 以管理员的身份运行cmd,然后输入sc delete mysql 即可
- Oracle清理大表,降水位
背景:一张表的清理机制存在问题,导致该表的数据一直在增加,该表水位已很高,需要对该表的数据进行清理并降水位. 1.1 迁移前准备 步骤一.新建表 p_transaction_bak. oracle@l ...
- (转)CentOS 7安装Zabbix 3.4
(转)Zabbix 3.4 支持Centos 7.貌似不支持6.9. 更多详细内容请参考官方说明文档,详细的安装要求不贴出来了. https://www.zabbix.com/documentatio ...
- 第六章 hbase shell 命令
hbase shell命令 描述 alter 修改列族(Column Family)模式 count 统计表中行的数量 create 创建表 ...
- 第六章 通过Service访问Pod(下)
6.4 外网如何访问service (1)ClusterIp: Service通过Cluster内部的IP对外提供服务,只有Cluster内的节点和Pod可以访问,这是默认的Service类型. (2 ...
- 使用Eclipse可以启动服务器,却不能访问localhost
今天心血来潮修改了Tomcat的端口号,将默认的8080改为8888,使用MyEclipse部署项目没有问题,只是访问的地址不可以使用8080而是要用8888,这是当然的了,毕竟我修改了.但是使用Ec ...