linux密码策略设置和服务设置.docx
《linux密码策略设置和服务设置.docx》由会员分享,可在线阅读,更多相关《linux密码策略设置和服务设置.docx(4页珍藏版)》请在三一办公上搜索。
1、linux密码策略设置和服务设置Linux密码复杂度配置方案 密码复杂度配置目标是保证密码由数字,大写字母,小写字母,符号各至少1位组成, 长度不短于8, 历史记忆密码8个. 由于Suse 9, Suse10, Suse11关于密码验证的系统实现方式略有差别, 本文将针对不同系统版本给出相应配置方法. 1. 对于Suse9 将/etc/pam.d/passwd更改为以下: #%PAM-1.0 auth required pam_unix2.so nullok account required pam_unix2.so password required pam_pwcheck.so passw
2、ord required pam_cracklib.so dcredit=-1 ucredit=-1 ocredit=-1 lcredit=-1 minlen=8 use_authtok password required pam_pwcheck.so nullok remember=8 use_authtok password required pam_unix2.so use_authtok nullok session required pam_unix2.so 2. 对于Suse10 /etc/pam.d/common-password更改为以下: # # /etc/pam.d/com
3、mon-password - password-related modules common to all services # # 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. #
4、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. #
5、 # pam_make can be used to rebuild NIS maps after password change. # password required password required lcredit=-1 minlen=8 use_authtok password required password required pam_pwcheck.so pam_cracklib.so dcredit=-1 ucredit=-1 ocredit=-1 pam_pwcheck.so nullok remember=8 use_authtok pam_unix2.so use_a
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- linux 密码 策略 设置 服务
链接地址:https://www.31ppt.com/p-3160760.html