使用passwd命令,出现passwd:模块未知,有大神知道是怎么回事吗
linux吧
全部回复
仅看楼主
level 2
仰望雨冰 楼主
使用passwd命令,出现passwd:模块未知,有大神知道是怎么回事吗
2016年06月02日 07点06分 1
level 6
表示以我小白的水平只能看出来你用的不是root用户....
2016年06月03日 11点06分 2
su - root 不是切换成root?
2016年06月03日 15点06分
level 11
[狂汗]难道是passwd命令配置出错了
2016年06月03日 11点06分 3
我这确实不知道该怎么改密码了。
2016年06月03日 15点06分
level 12
磁盘是不是坏过啊?
2016年06月03日 17点06分 4
level 14
root才能
2016年06月03日 22点06分 5
level 13
sudo passwd
2016年06月03日 22点06分 6
level 13
然后 su
2016年06月03日 22点06分 7
具体要怎么改用户ossuser的密码,能说的详细点吗,我是小白。。。谢谢了
2016年06月04日 12点06分
level 2
你shell掉线了,重新连接就可以了!
2016年06月04日 01点06分 8
具体要怎么操作,shell掉线?帮帮忙,给点命令,我试试下,谢谢了
2016年06月04日 12点06分
重新输入你的ip 地址链接
2016年06月04日 12点06分
是再连一下IP?
2016年06月04日 12点06分
level 2
仰望雨冰 楼主
使用passwd命令,出现passwd:模块未知,有大神知道是怎么回事
2016年06月12日 00点06分 9
level 1
楼主,你这个问题解决了么?怎么解决的
2016年08月25日 03点08分 10
找人帮忙看的,具体不知道怎么处理。
2016年08月26日 06点08分
可以看看楼下的方法,应该是安全加固引起的问题。
2016年10月16日 15点10分
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
不清楚
2017年03月21日 06点03分
level 12
pam 配置可能有错,我本人经常见的是配置中有 selinux 但编译又去掉这个支持。
2017年03月20日 01点03分 14
1