解决passwd: Authentication token manipulation error

简介:

passwd 命令修改用户密码出现passwd: Authentication token manipulation error


今天,在测试用户文件属性的时候,修改用户密码发现报此错误。


百度上搜结果:

/etc/passwd 文件被锁定

/etc/passwd  /etc/shadow 文件不同步

磁盘空间不足

inode 满了

/etc/pam.d/passwd 相关动态库文件问题


结果,我都试过了,最后发现问题了,我之前不小心把 /etc/pam.d/文件夹内容全部删除过,后来进入恢复模式,把最开始的镜像文件中对应文件夹内容复制进来的。基本系统能正常用,不会报错了。


我的解决方法:

 找一台和现在服务器基本内容差不多的服务器,把那台正常服务器/etc/pam.d/文件夹内容全部拷贝到本机对应文件夹下面。


可以正常用了!


      本文转自无形于有形  51CTO博客,原文链接:http://blog.51cto.com/jinchuang/1844452,如需转载请自行联系原作者





相关文章
|
1月前
|
安全 关系型数据库 MySQL
ERROR 1819 (HY000): Your password does not satisfy the current policy requirements问题处理
【5月更文挑战第8天】ERROR 1819 (HY000): Your password does not satisfy the current policy requirements问题处理
17 2
|
1月前
|
安全 关系型数据库 MySQL
ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
19 2
|
12月前
|
SQL
错误代码: 1364 Field ‘password‘ doesn‘t have a default value
错误代码: 1364 Field ‘password‘ doesn‘t have a default value
|
Unix Linux 数据安全/隐私保护
passwd: Authentication token manipulation error
passwd: Authentication token manipulation error
519 0
passwd: Authentication token manipulation error
|
关系型数据库 MySQL 数据安全/隐私保护

热门文章

最新文章