| Solaris系统安全加固列表 |
| 作者:内详 来源:网络搜集 点击数:
更新时间:2008-3-31 18:12:11 |
|
|
_redirects 0 (加入/etc/init.d/inetinit) 禁止转发定向广播(如果网桥连结则不禁止) #ndd –set /dev/ip ip_forward_directed_broadcasts 0 (加入/etc/init.d/inetinit) 禁止转发在数据源设置了路由的数据包 #ndd –set /dev/ip ip_forward_src_routed 0 (加入/etc/init.d/inetinit)
7、利用/etc/notrouter关闭IP转发 创建/etc/notrouter文件,重启计算机(入侵者如果可以访问根目录,可以使用ndd命令重新开启IP转发) /etc/inet/hosts中的配置 127.0.0.1 Localhost (所有系统都有这一项) 192.168.0.13 LoGhost (syslog使用的) 192.168.0.109 wy_solaris (主机IP和主机名) /etc/defaultrouter包含了默认路由器的名称或者IP 如果使用了默认路由器,在/etc/inet/hosts文件中必须包含路由器的名称,因为如果设置了路由表,系统将不会运行任何目录服务(DNS、NIS或者NIS+)
8、cron(任务在/var/spool/cron/crontabs/ 一般行为在/etc/default/cron) 格式:minute hour day-of-month month day-of-week command (每项间用空格,同一项两个数字间用逗号,每项为数字或者星号) 配置: 查看命令 crontab –l (1)进入只有本用户可读的目录 (2)crontab –l > mycronfile (3)编辑mycronfile (4)crontab < mycronfile 不要使用crontab –e命令,因为它会在/tmp下建立所有用户都可读的crontab副本 访问cron系统 /etc/cron.d/cron.allow (允许) /etc/cron.d/cron上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] ... 下一页 >>
|
|
| 教程录入:yxdoor 责任编辑:yxdoor |
上一篇教程: 系统安全:没人知道你的密秘
下一篇教程: 教你几条如何防止病毒再感染的小窍门 |
| 【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口】 |