Centos7系統(tǒng)如何禁止空密碼登錄
時(shí)間:2024/5/22 14:33:22 來源:米安網(wǎng)絡(luò) 作者:云主機(jī)配置專家 點(diǎn)擊:222次
在centos7中如何禁止空密碼登錄呢?本文給出詳細(xì)說明。
1.打開sshd配置文件
vi /etc/ssh/sshd_config
2.找到PermitEmptyPasswords 確保設(shè)置為no
3.保存后重啟sshd服務(wù)
service sshd restart
版權(quán)保護(hù): 本文「Centos7系統(tǒng)如何禁止空密碼登錄」由 云主機(jī)配置專家 原創(chuàng),轉(zhuǎn)載請(qǐng)保留鏈接: http://www.iqcg.cn/docs/system/888.html