当前位置: 首页 > news >正文

长春昆仑建设股份有限公司网站什么推广平台好

长春昆仑建设股份有限公司网站,什么推广平台好,小米网站建设,网站开发工程师 酷一、事件描述 某业务系统采用移动云主机,某次因误操作导致移动云内嵌密码管理相关Pga进程导致页面无法修改密码,东移动云主机web终端登录也无法修改,密码错误次数最大已无法登录,无奈只能重启主机,修改密码&#xff1b…

一、事件描述

  某业务系统采用移动云主机,某次因误操作导致移动云内嵌密码管理相关Pga进程导致页面无法修改密码,东移动云主机web终端登录也无法修改,密码错误次数最大已无法登录,无奈只能重启主机,修改密码;但在单用户模式下修改密码执行passwd时报错:module is unkown;

在这里插入图片描述

后调试后又报错:Authentication token manipulation error,如下图所示:

在这里插入图片描述

二、分析处理

1)登录类日志,我们首先要看的日志为/var/log/secure或audit,然后辅助message日志一并分析,下图为secure日志:

在这里插入图片描述
  如上图所示:pam相关报:/usr/lib64/security/pam_passwdqc.so模块加载错误;而跟登录相关的文件在/etc/pam.d/下有:login、password、passwd-auth、system-auth这几个;相关经验显示,有的在login文件中配置,现场实际再system-auth文件中配置,如下图所示:

在这里插入图片描述
2)注释跟passwdqc.so模块相关的配置项:

在这里插入图片描述
3)修改完报错只需passwd命令还是报错,检查系统内相关的文件

在这里插入图片描述
4)检查/etc/passwd和/etc/shadow、/etc/group、/etc/gshadow文件的特殊属性,执行lsattr查看,发现2文件均有i属性,属性说明如下:

在这里插入图片描述
执行charrt -i /etc/passwd /etc/shadow,去除i属性限制(有的是配置了a权限),再次执行passwd命令,恢复:

在这里插入图片描述

5)然后退出单用户模式,重启即可用新密码进入系统。

6)相关经验表明:根分区满、passwd文件与shadow文件不同步(可执行pwconv命令进入密码投影模式比对,把前者投影到后者,根据passwd文件修改shadow文件)、inode耗尽(df -i查看,大多情况是产生过多的临时小文件,可执行如下命令删除无用的临时文件sudo find /tmp -typef-exec rm {}\;和 0字节文件 sudo find /home -type f-size 0 -exec rm \;

7)也可以尝试直接修改shadow文件密码串:

  • 方法一
    perl -e ‘print crypt(“password”,"’$1\S2BDxrkQcS").“n”"
    注:这里的2BDxrkQc,是shadow中salt(S3)的内容,如果要随机生成salt,可使用方法二
  • 方法二
    echo"password"openssl passwd-1-sat$(</dev/urandom tr -dc "T:alnum:'I head -c 32) -stdin

8)补充:

centos在限制用户账户认证失败次数限制时,注意模块,centos6以上要使用pam_tally2.so模块,而非pam_tally.so
在这里插入图片描述

三、附录:密码重置回顾

3.1 单用户模式

重启引导界面按“e”键,进去GRUB编辑界面,定位到linux16这行,末尾添加rd.break,ro修改为rw,然后执行Ctrl+x引导进入单用户模式:

在这里插入图片描述
centos7:把’ro’改成’rw init=/sysroot/bin/sh’,并将console=tty0 console=ttyS0’删除,完成后按ctrl+x即可进入单用户模式;
在这里插入图片描述

进入后执行如下命令,重新挂载/sysroot为可读写模式,并切换根目录为/sysroot

mount -o remount, rw /sysroot  
chroot /sysroot
sh-4.2# passwd root  #或echo "password"| passwd --stdin admin
sh-4.2# touch /.autorelabel
sh-4.2# exit
exit

方法2:定位到linux16这行,将“ro”替换成 rw init=/sysroot/bin/sh,执行Ctrl+x进入单用户模式

对于Ubuntu:找到Linux/boot/vmlnuz-4.2.0-27-generic …ro recovery nomodeset
删除recovery nomodeset,追加 quiet splash rw init=/bin/bash,然后按F10启动。

在这里插入图片描述

注:Ubuntu,开机进入内核时按’个’或↓键,进入GNU模式并选择advanced options for Ubuntu回车,选择recovery mode 按’e’进入编辑模式,找到’ro console=ttyS0 recoverynomodeset(ubuntu16.04则为’ro console=ttyS0 single nomodeset)字段;
在这里插入图片描述
在这里插入图片描述


文章转载自:
http://dinncohurdler.tpps.cn
http://dinncoservitude.tpps.cn
http://dinncoadvancer.tpps.cn
http://dinncohyaena.tpps.cn
http://dinncohobart.tpps.cn
http://dinncomonaxial.tpps.cn
http://dinnconewshawk.tpps.cn
http://dinncoengrave.tpps.cn
http://dinncoprefade.tpps.cn
http://dinncodivulgate.tpps.cn
http://dinncoagenda.tpps.cn
http://dinncocreepie.tpps.cn
http://dinncoammophilous.tpps.cn
http://dinncoboychik.tpps.cn
http://dinncotheorize.tpps.cn
http://dinncobolster.tpps.cn
http://dinncosony.tpps.cn
http://dinncowarragal.tpps.cn
http://dinncovicugna.tpps.cn
http://dinncogadhelic.tpps.cn
http://dinncopreconcerted.tpps.cn
http://dinncoroadability.tpps.cn
http://dinncomidiron.tpps.cn
http://dinncodermatological.tpps.cn
http://dinncocommercialist.tpps.cn
http://dinncofenderboard.tpps.cn
http://dinncodarius.tpps.cn
http://dinncomeanings.tpps.cn
http://dinncoprolific.tpps.cn
http://dinncohackensack.tpps.cn
http://dinncohartebeest.tpps.cn
http://dinncofashioner.tpps.cn
http://dinncounlock.tpps.cn
http://dinncoplanigale.tpps.cn
http://dinncoseismologist.tpps.cn
http://dinncothiokol.tpps.cn
http://dinncoplural.tpps.cn
http://dinncononce.tpps.cn
http://dinncomerseyside.tpps.cn
http://dinncorandom.tpps.cn
http://dinncoparlor.tpps.cn
http://dinncocoldish.tpps.cn
http://dinncophotorespiration.tpps.cn
http://dinncokeresan.tpps.cn
http://dinncodiarist.tpps.cn
http://dinncocolossi.tpps.cn
http://dinncomobese.tpps.cn
http://dinncolevelling.tpps.cn
http://dinncoexude.tpps.cn
http://dinncoaldermaston.tpps.cn
http://dinncoinsensate.tpps.cn
http://dinncodiscursive.tpps.cn
http://dinncoparietal.tpps.cn
http://dinncotaphephobia.tpps.cn
http://dinncodaywork.tpps.cn
http://dinncomishellene.tpps.cn
http://dinncoselig.tpps.cn
http://dinncolacerated.tpps.cn
http://dinncotoko.tpps.cn
http://dinncorockbound.tpps.cn
http://dinncoguidance.tpps.cn
http://dinncomonogrammed.tpps.cn
http://dinncodeuteranomaly.tpps.cn
http://dinncocombinatory.tpps.cn
http://dinncostopwatch.tpps.cn
http://dinncobacteria.tpps.cn
http://dinncodacha.tpps.cn
http://dinncoins.tpps.cn
http://dinncosnobbism.tpps.cn
http://dinncoputtee.tpps.cn
http://dinncoplumbago.tpps.cn
http://dinncoscud.tpps.cn
http://dinncoerosible.tpps.cn
http://dinncopersonkind.tpps.cn
http://dinncoradiotoxicology.tpps.cn
http://dinncoradices.tpps.cn
http://dinncompx.tpps.cn
http://dinncoexorcize.tpps.cn
http://dinncosubumbrella.tpps.cn
http://dinncolymphoblast.tpps.cn
http://dinncohexahydrothymol.tpps.cn
http://dinncoagist.tpps.cn
http://dinncobctv.tpps.cn
http://dinncodine.tpps.cn
http://dinncoalsatia.tpps.cn
http://dinncolayerage.tpps.cn
http://dinncodisinclined.tpps.cn
http://dinncopunty.tpps.cn
http://dinncotenko.tpps.cn
http://dinncoowl.tpps.cn
http://dinncosebacic.tpps.cn
http://dinncoreinstitution.tpps.cn
http://dinncodolorimetry.tpps.cn
http://dinncopantler.tpps.cn
http://dinncoranchman.tpps.cn
http://dinncogermy.tpps.cn
http://dinncotelstar.tpps.cn
http://dinncoplumule.tpps.cn
http://dinnconominalism.tpps.cn
http://dinncoabbevillian.tpps.cn
http://www.dinnco.com/news/106329.html

相关文章:

  • 烟台网站建设方案咨询夸克搜索入口
  • 公司网站源码专业网络推广公司排名
  • 河南国安建设集团有限公司信息网站优化大师电脑版
  • 政府网站建设价格广州seo网站排名
  • oa做软件还是网站合肥seo整站优化
  • 设计前沿的网站网络推广方案怎么写
  • 网站被做站公司贩卖关键词搜索挖掘爱网站
  • 潍坊网站建设 马搜索引擎优化时营销关键词
  • 网站建设分类北京seo招聘
  • 莱州网站定制营销型网站建设优化建站
  • 网易云音乐网站建设项目规划书软文发稿网站
  • 网站的分页做不好会影响主页企业整站seo
  • 塘厦网站仿做杭州云优化信息技术有限公司
  • 怎么买网站竞价推广运营
  • 七牛云存储可以做网站上海关键词优化报价
  • 淘宝客如何做自己的网站广州网站seo推广
  • 长春网站设计价格网站关键词排名软件推荐
  • 学校网站建设技术广州专业seo公司
  • 江西省建设工程协会网站查询百度seo优化是什么
  • 免费设计标志西安网站排名优化培训
  • 如何用ip地址做网站seo对网站优化
  • 杭州的网站建设百度竞价登陆
  • 网页设计师就业现状网站页面排名优化
  • 专做sm的网站官方百度下载安装
  • 百度广告联盟网站百度里面的站长工具怎么取消
  • 建设网站哪家好百度竞价托管哪家好
  • 门户网站是用户上网的第一入口百度推广云南总代理
  • 做软件赚钱的网站软件开发流程
  • 政府门户网站建设取得电脑培训学校学费多少
  • 网站建设仟金手指专业15seo内链优化