免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2670 | 回复: 6
打印 上一主题 下一主题

Authentication token manipulation error [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-01-06 12:19 |只看该作者 |倒序浏览
RedHat 4.4,CentOS 4.4
root可以修改任意用户的密码,普通用户不能修改密码
报错:Authentication token manipulation error
网上找了很多方法,也不管用。请大家帮忙


  1. # cat /etc/pam.d/system-auth
  2. #%PAM-1.0
  3. # This file is auto-generated.
  4. # User changes will be destroyed the next time authconfig is run.
  5. auth        required      /lib/security/$ISA/pam_env.so
  6. auth        sufficient    /lib/security/$ISA/pam_unix.so likeauth nullok
  7. auth        required      /lib/security/$ISA/pam_deny.so

  8. account     required      /lib/security/$ISA/pam_unix.so
  9. account     sufficient    /lib/security/$ISA/pam_succeed_if.so uid < 100 quiet
  10. account     required      /lib/security/$ISA/pam_permit.so

  11. password    requisite     /lib/security/$ISA/pam_cracklib.so retry=3
  12. password    sufficient    /lib/security/$ISA/pam_unix.so nullok use_authtok md5 shadow
  13. password    required      /lib/security/$ISA/pam_deny.so

  14. session     required      /lib/security/$ISA/pam_limits.so
  15. session     required      /lib/security/$ISA/pam_unix.so
复制代码

  1. # ll /usr/bin/passwd
  2. -r-s--x--x  1 root root 21200 2005-08-22  /usr/bin/passwd
复制代码

  1. # tail /var/log/messages
  2. Jan  6 12:05:11 game3 passwd(pam_unix)[22776]: authentication failure; logname=root uid=6803 euid=0 tty=pts/6 ruser= rhost=  user=newuser
复制代码

[ 本帖最后由 FunBSD 于 2009-2-2 12:07 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2009-01-06 13:03 |只看该作者
原帖由 FunBSD 于 2009-1-6 12:19 发表
root用户可以改密码,普通用户输入passwd报错Authentication token manipulation error
网上找了很多方法,也不管用。请大家帮忙

# cat /etc/pam.d/system-auth
#%PAM-1.0
# This file is auto-generate ...

LZ引用/lib/security/$ISA这个有什么用途,不理解
[root@ security]# cat cat /etc/pam.d/system-auth

  1. cat: cat: No such file or directory
  2. #%PAM-1.0
  3. # This file is auto-generated.
  4. # User changes will be destroyed the next time authconfig is run.
  5. auth        required      pam_env.so
复制代码

论坛徽章:
0
3 [报告]
发表于 2009-01-06 14:29 |只看该作者
我也不知道,那个文件是CentOS自动生成的

论坛徽章:
0
4 [报告]
发表于 2009-01-12 17:12 |只看该作者
up

论坛徽章:
0
5 [报告]
发表于 2009-01-13 12:10 |只看该作者

论坛徽章:
0
6 [报告]
发表于 2009-02-02 12:08 |只看该作者
up

论坛徽章:
0
7 [报告]
发表于 2009-02-02 21:29 |只看该作者
你在root下查看一下其它用户的密码状态是什么?如果是locked,那么可能禁止用户修改密码了.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP