RSS
热门关键字:  Linux  图形  项目管理  LAMP  java
当前位置 : 主页>开源安全>列表

Linux操作系统常用安全检查方法概括介绍

来源:赛迪网 作者:kid 时间:2007-10-15 点击:

检查系统密码文件,查看文件修改日期 字串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

最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册