Centos安全

jcwtime0条评论 80 次浏览

删除不安全用户:

for i in adm lp sync shutdownhalt news uucp operator games gopher ftp;do userdel $1;done

#如果你不允许匿名FTP,就删掉ftp这个用户帐号

删除不安全组

for i in adm lp news uucp games dip pppusers;do groupdel $1;done

发表评论

? razz sad evil ! smile oops grin eek shock ??? cool lol mad twisted roll wink idea arrow neutral cry mrgreen