Linux 密码安全设置
来源:互联网 发布:乐天免税店 mac 编辑:程序博客网 时间:2024/05/16 12:32
- /etc/login.defs
# PASS_MAX_DAYS Maximum number of days a password may be used.# PASS_MIN_DAYS Minimum number of days allowed between password changes.# PASS_MIN_LEN Minimum acceptable password length.# PASS_WARN_AGE Number of days warning given before a password expires.
- /etc/pam.d/system-auth
#%PAM-1.0# This file is auto-generated.# User changes will be destroyed the next time authconfig is run.auth required pam_env.soauth sufficient pam_unix.so try_first_pass nullokauth required pam_deny.soaccount required pam_unix.sopassword requisite pam_cracklib.so try_first_pass retry=3 type=password sufficient pam_unix.so try_first_pass use_authtok nullok sha512 shadowpassword required pam_deny.sosession optional pam_keyinit.so revokesession required pam_limits.sosession [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uidsession required pam_unix.sopassword requisite pam_cracklib.so retry=5 difok=3 minlen=10 ucredit=-1 lcredit=-3 dcredit=-3 dictpath=/usr/share/cracklib/pw_dict参数含义:尝试次数:5 最少不同字符:3 最小密码长度:10 最少大写字母:1 最少小写字母:3 最少数字:3 密码字典:/usr/share/cracklib/pw_dict
参考:
https://linux.cn/article-2518-1.html
0 0
- Linux 密码安全设置
- Linux系统为Grub设置安全密码
- 启动安全_设置linux GRUB的密码
- 教你如何安全设置Linux操作系统密码
- 如何设置安全的密码
- 无线路由器密码安全设置
- Redis安全设置 - 设置密码、禁用指令
- ActiveMQ 安全设置----设置安全认证账户和密码
- Linux安全设置
- linux的安全设置
- Linux安全设置手册
- Linux 安全设置手册
- linux安全设置手册
- Linux安全设置手册
- Linux安全设置手册
- Linux安全设置手册
- Linux ssh安全设置
- Linux 安全设置
- 一些基础函数
- Web前端的学习路线,你真的知道吗
- C#中Collection,List和ArrayList的区别
- 二叉树大全
- 用UltraISO(软碟通)进行Win10系统重装
- Linux 密码安全设置
- 直流电机PID控制例程程序注释
- JS实现xml与json格式的互转
- iOS开发之点击UIWebView获取被点击图片的地址并显示
- Error configuring application listener of class ... java.lang.ClassNotFoundException的解决思路
- C#垃圾回收的大对象
- 高内聚,低耦合与SOLID原则
- SSM框架——使用MyBatis Generator自动创建代码
- replace第二个参数为函数的情况