美文网首页
Linux密码策略

Linux密码策略

作者: peidong | 来源:发表于2016-09-28 16:54 被阅读106次

    Redhat/Fedora/CentOS 系列的linux 编辑/etc/pam.d/system-auth
    修改remember=0

    /etc/login.defs 的PASS_MAX_DAYS 99999 #密码的最大有效期, 99999:永久有效

    修改用户密码
    echo username:passwd | chpasswd
    查看用户密码信息
    chage -l username
    修改密码时间
    chage username

    相关文章

      网友评论

          本文标题:Linux密码策略

          本文链接:https://www.haomeiwen.com/subject/gptkyttx.html