欧美一级特黄大片做受成人-亚洲成人一区二区电影-激情熟女一区二区三区-日韩专区欧美专区国产专区

centos7怎么設置密碼規(guī)則

這篇文章將為大家詳細講解有關centos7怎么設置密碼規(guī)則,小編覺得挺實用的,因此分享給大家做個參考,希望大家閱讀完這篇文章后可以有所收獲。

超過十年行業(yè)經(jīng)驗,技術領先,服務至上的經(jīng)營模式,全靠網(wǎng)絡和口碑獲得客戶,為自己降低成本,也就是為客戶降低成本。到目前業(yè)務范圍包括了:做網(wǎng)站、網(wǎng)站制作,成都網(wǎng)站推廣,成都網(wǎng)站優(yōu)化,整體網(wǎng)絡托管,小程序開發(fā),微信開發(fā),APP應用開發(fā),同時也可以讓客戶的網(wǎng)站和網(wǎng)絡營銷和我們一樣獲得訂單和生意!

出于安全考慮設置密碼規(guī)則

設置密碼到期的天數(shù)。 
用戶必須在天內更改密碼。 
此設置僅影響創(chuàng)建用戶,而不會影響現(xiàn)有用戶。 
如果設置為現(xiàn)有用戶,請運行命令“chage -M(days)(user)”。
PASS_MAX_DAYS   60         # 密碼到期時間
PASS_MIN_DAYS   3          # 初始密碼更改時間
PASS_MIN_LEN    8          # 密碼最小長度
PASS_WARN_AGE   7          # 密碼過期提示時間

重復密碼限制使用

 [root@linuxprobe~]# vi /etc/pam.d/system-auth
# near line 15: prohibit to use the same password for 5 generation in past

password     sufficient     pam_unix.so sha512 shadow nullok try_first_pass use_authtok remember=5

設置最小密碼長度。 用戶不能設置小于此參數(shù)的密碼長度。

 # set 8 for minimum password length

[root@linuxprobe~]# authconfig --passminlen=8 --update
# the parameter is set in a config below

[root@linuxprobe~]# grep "^minlen" /etc/security/pwquality.conf
minlen = 8 

# 在新密碼中設置同一類的允許連續(xù)字符的最大數(shù)目
 # set 4 for maximum number of allowed consecutive characters of the same class

[root@linuxprobe~]# authconfig --passmaxclassrepeat=4 --update
# the parameter is set in a config below

[root@linuxprobe~]# grep "^maxclassrepeat" /etc/security/pwquality.conf
maxclassrepeat = 4 

# 在新密碼中至少需要一個小寫字符。
 [root@linuxprobe~]# authconfig --enablereqlower --update
# the parameter is set in a config below
# (if you'd like to edit the value, edit it with vi and others)

[root@linuxprobe~]# grep "^lcredit" /etc/security/pwquality.conf
lcredit = -1 

# 在新密碼中至少需要一個大寫字符
 [root@linuxprobe~]# authconfig --enablerequpper --update
# the parameter is set in a config below

# (if you'd like to edit the value, edit it with vi and others)
[root@linuxprobe~]# grep "^ucredit" /etc/security/pwquality.conf
ucredit = -1 

# 在新密碼中至少需要一個數(shù)字
 [root@linuxprobe~]# authconfig --enablereqdigit --update
# the parameter is set in a config below

# (if you'd like to edit the value, edit it with vi and others)
[root@linuxprobe~]# grep "^dcredit" /etc/security/pwquality.conf
dcredit = -1 

# 密碼包括至少一個特殊字符
 [root@linuxprobe~]# authconfig --enablereqother --update
# the parameter is set in a config below

# (if you'd like to edit the value, edit it with vi and others)
[root@linuxprobe~]# grep "^ocredit" /etc/security/pwquality.conf
ocredit = -1 

# 在新密碼中設置單調字符序列的最大長度。 (ex⇒'12345','fedcb')
 [root@linuxprobe~]# vi /etc/security/pwquality.conf
# add to the end
maxsequence = 3 

# 設置新密碼中不能出現(xiàn)在舊密碼中的字符數(shù)
 [root@linuxprobe~]# vi /etc/security/pwquality.conf
# add to the end
difok = 5 

# 檢查來自用戶passwd條目的GECOS字段的長度超過3個字符的字是否包含在新密碼中。
 [root@linuxprobe~]# vi /etc/security/pwquality.conf
# add to the end
gecoscheck = 1 

# 設置不能包含在密碼中的Ssace分隔的單詞列表
 [root@linuxprobe~]# vi /etc/security/pwquality.conf
# add to the end
badwords = denywords1 denywords2 denywords3 

# 為新密碼設置hash / crypt算法。 (默認為sha512)
# show current algorithm

[root@linuxprobe~]# authconfig --test | grep hashing

password hashing algorithm is md5
# chnage algorithm to sha512

[root@linuxprobe~]# authconfig --passalgo=sha512 --update
[root@linuxprobe~]# authconfig --test | grep hashing
password hashing algorithm is sha512

關于“centos7怎么設置密碼規(guī)則”這篇文章就分享到這里了,希望以上內容可以對大家有一定的幫助,使各位可以學到更多知識,如果覺得文章不錯,請把它分享出去讓更多的人看到。

網(wǎng)站名稱:centos7怎么設置密碼規(guī)則
轉載注明:http://www.aaarwkj.com/article18/gjjcgp.html

成都網(wǎng)站建設公司_創(chuàng)新互聯(lián),為您提供企業(yè)網(wǎng)站制作網(wǎng)頁設計公司、網(wǎng)站營銷、App開發(fā)、軟件開發(fā)用戶體驗

廣告

聲明:本網(wǎng)站發(fā)布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經(jīng)允許不得轉載,或轉載時需注明來源: 創(chuàng)新互聯(lián)

網(wǎng)站建設網(wǎng)站維護公司
精品自拍一区在线观看| 国产在线精品专区第一页| 水蜜桃成人在线视频免费观看| 日韩精品中文字幕国产精品| 日本国产福利视频在线观看| 91国产精品视频在线| 国产精品三级国产精品高| 一本色道久久88综合日韩| 夜夜嗨精品免费视频播放| 91精品免费播放在线观看| 91欧美日韩国产在线观看| 欧美精品国产欧美精品国产| 国产精品呦呦国产精品尤物| 久久人妻一区二区三区免费密臀| 亚洲天堂中文字幕麻豆| 亚洲一区二区三区不卡伦理| 亚洲区自拍偷拍一区二区| 精品国产免费第一区二区三| 久草福利资源在线观看视频| 黄色录像黄色片黄色片| 欧美色欧美亚洲另类视频| 亚洲香蕉视频在线播放| 亚洲精品不卡一区二区| 99久久久精品国产免费| 亚洲av少妇高潮流白浆在线| 哪里可以看黄色片日韩| 超碰国产精品一区二区| 中文字幕日韩精品在线看| 国产女孩精品在线播放| 中文字幕高清一区二区三区| 少妇互射视频免费视频| 中文字幕在线成人影院| 精品少妇熟女av免费久久| 日本欧美一区二区精品| 日韩日韩毛片日韩毛片| av电影国产在线观看| 国产精品精品国产一区二区| 欧美日韩黄色的三级视频| 国产不卡视频观看网站| 亚洲国产日韩欧美在线播放| 人妻少妇被猛烈进入文字幕|