level 6
表示以我小白的水平只能看出来你用的不是root用户....
2016年06月03日 11点06分
2
su - root 不是切换成root?
2016年06月03日 15点06分
level 2
使用passwd命令,出现passwd:模块未知,有大神知道是怎么回事
2016年06月12日 00点06分
9
level 2
YAJ-U2000-2-P:~ # vi /etc/pam.d/common-password
#
ces
#
# This file is included from other service-specific PAM config files,
# and should contain a list of modules that define the services to be
# used to change user passwords. The default is pam_unix2 in combination
# with pam_pwcheck.
# The "nullok" option allows users to change an empty password, else
# empty passwords are treated as locked accounts.
#
# To enable Blowfish or MD5 passwords, you should edit
# /etc/default/passwd.
#
# Alternate strength checking for passwords should be configured
# in /etc/security/pam_pwcheck.conf.
#
# pam_make can be used to rebuild NIS maps after password change.
#
password required pam_pwcheck.so nullok remember=5
password required pam_unix2.so nullok use_authtok
nlen=8
password required pam_pwhistory.so use_authtok remember=5
minlen=8
#password required pam_pwhistory.so use_authtok remember=5
#password required pam_make.so /var/yp
"/etc/pam.d/common-password" 26L, 1145C 已写入
把password required pam_pwhistory.souse_authtok remember=5
password required pam_pwcheck.so nullok remember=5
这这两行注释掉就可以修改密码了
2016年10月16日 15点10分
11
level 1
是不是修改过/etc/paw.d/su文件?改回来就好了
2017年03月19日 06点03分
13
level 12
pam 配置可能有错,我本人经常见的是配置中有 selinux 但编译又去掉这个支持。
2017年03月20日 01点03分
14