CentOS6.2解决passwd: Authentication token manipulation error报错
passwd: Authentication token manipulation error这种错误可能有多种原因,就我了解的可能有/etc/passwd等文件+i权限
今天在给学员上课的时候发现提示passwd: Authentication token manipulation error错误,我来简单描述今天的问题
[root@host4 Scripts]# cat pass.txt
123456
[root@host4 Scripts]# useradd user01
[root@host4 Scripts]# passwd --stdin user01 < pass.txt
Changing password for user user01.
passwd: Authentication token manipulation error
但是我这样却是可以的
[root@host4 Scripts]# echo "123456" | passwd --stdin user01
Changing password for user user01.
passwd: all authentication tokens updated successfully.
说明/etc/shadow应该权限没问题
[root@host4 Scripts]# tail /var/log/messages
[root@host4 Scripts]# tail /var/log/audit/audit.log
type=USER_CHAUTHTOK msg=audit(1333893689.927:16840): user pid=1753 uid=0 auid=0 ses=2 subj=unconfined_u:unconfined_r:passwd_t:s0-s0:c0.c1023 msg='op=change password id=512 exe="/usr/bin/passwd" hostname=? addr=? terminal=pts/0 res=failed'
[root@host4 Scripts]# setenforce 0
[root@host4 Scripts]# passwd --stdin user01 < pass.txt
Changing password for user user01.
passwd: all authentication tokens updated successfully.
原来是selinux在捣鬼~!
转载于:https://blog.51cto.com/crazylinux/829280
CentOS6.2解决passwd: Authentication token manipulation error报错相关推荐
- 解决Linux修改密码Enter new UNIX password: passwd: Authentication token manipulation error pas
原文地址:https://www.tecmint.com/fix-passwd-authentication-token-manipulation-error-in-linux/ How to Fix ...
- Linux passwd系统错误,Linux系统处理”passwd: Authentication token manipulation error”错误...
欢迎,来自IP地址为:121.206.45.254 的朋友 在 Linux系统中,"passwd"命令是用来修改当前用户密码的.但当使用这条命令的时候,有些用户会遇到系统报错&qu ...
- linux 修改用户密码 报错,linux中修改用户密码报错 passwd:Authentication token manipulation error...
出现"passwd:Authentication token manipulation error"这种问题需要考虑以下情况: 1.错误出现在输入完新密码后 问题:/etc/pas ...
- [zz]linux修改密码出现Authentication token manipulation error的解决办法
年底需要修改一次密码,修改的时候遇到了问题,无法修改密码,经过baidu .google,找到了可能引起的原因,成功修改密码. 以下内容来自于网络. Authentication token man ...
- password unchanged Authentication token manipulation error
ubuntu下使用passwd问题记录 解决方法 sudo su 获得root身份后在使用刚才的passwd命令重新设置密码就搞定了. 出现错误 1. passwd: Authentication t ...
- Linux篇之解决root密码修改失败报错之Authentication token manipulation error
一.前言 长时间未登录服务器时,通常会出现 忘记root密码等常见问题,Centos6.Centos7等. 如何解决呢? 可参考我该篇文章: https://blog.csdn.net/xu71026 ...
- linux修改密码提示unix,linux中普通用户批改密码出现(passwd:Authentication token manipulation error)...
linux中普通用户修改密码出现(passwd:Authentication token manipulation error) 如果在linux中,不管是root用户还是普通用户登录后,修改自己的密 ...
- Ubuntu下Authentication token manipulation error或者Authentication Failure解决办法
在Ubuntu18.04使用以下命令出现以下错误: 用passwd为新建用户或者root添加密码:Authentication token manipulation error 切换root用户出现A ...
- Ubuntu重置密码 passwd 出现 Authentication token manipulation error
使用passwd命令重新设定密码:passwd walden,(walden是系统中已有的username),并输入两次密码,出现 Authentication token manipulation ...
最新文章
- 想学python看什么书-请问想学python和JAVA得看什么书?
- 王者荣耀中有哪些获胜率高的玩法?
- 双系统隐藏d盘linux,如何实现双系统的相互隐藏
- layui 日期重置_日期时间插件--日期时间组件文档 - layui.laydate
- hive中建立“按天分区“的外表+存储为ORC文件+指定元数据
- jedispool redis哨兵_通过java哨兵JedisSentinelPool代码示例连接对配置的redis哨兵主从模式进行测试验证...
- 第三方攻击在增长但风险管理跟不上
- [渝粤教育] 中国地质大学 管理信息系统 复习题
- 工欲善其事,必先利其器——图文并茂详解VisualStudio使用技巧一
- flash mx拖拽实例_适用于Flash MX 2004 Professional的虹膜和擦除过渡面板
- 使用PG处理地图数据偏移问题
- 浅析免费加密软件应该如何选择性下载
- 头像怎么画,日系头像绘画教程
- Win32 IME 编程心得【转】
- 类似于QQ的网络聊天室
- Centos7安装PostgreSQL 12.4 + postgis安装
- cache object script基本结构---Cache变量,变量名称,定义,特殊的变量
- TCP长连接,心跳机制介绍
- 7-2 江学长的游戏
- matlab中怎么表示几次方,用while 语句编写程式,k=1+2+4+8+…+2的62次方+2的63次方matlab中...