检查系统密码文件,查看文件修改日期 字串3
[root@fedora ~]# ls -l /etc/passwd
字串8
查看passwd文件中有哪些特权用户
字串9
[root@fedora ~]# awk -F: '$3= =0 {print $1}' /etc/passwd
字串4
查看系统里有没有空口令帐户 字串6
awk -F: 'length($2)= =0 {print $1}' /etc/shadow 字串5
检查系统守护进程 字串6
cat /etc/inetd.conf | grep -v "^#"
字串5
检查网络连接和监听端口
字串6
netstat –an
字串5
netstat –rn
字串9
ifconfig –a 字串2
查看正常情况下登录到本机的所有用户的历史记录 字串1
last 字串6
检查系统中的core文件
字串6
find / -name core -exec ls -l {} \;
字串6
检查系统文件完整性
字串7
rpm –qf /bin/ls 字串8
rpm -qf /bin/login 字串2
md5sum –b 文件名
字串3
md5sum –t 文件名 字串7
查找是否有后门
字串1
cat /etc/crontab
字串8
ls /var/spool/cron/ 字串3
cat /etc/rc.d/rc.local 字串7
ls /etc/rc.d
字串2
ls /etc/rc3.d 字串1
find / -type f -perm 4000 字串7

