首页 | 公司简介 | 数据恢复 | 成功案例 | 技术中心 | 客户服务 | 服务报价 | 联系我们 | 技术论坛  
 
  北京总部: 4006-505-808
  上 海 部: 021-58358765
  深 圳 部: 0755-83692929
  浙 江 部: 13666673722
  广 州 部: 020-83821091
  重 庆 部: 023-86870422
  福 建 部: 0591-83300680
  西 安 部: 029-68614669
  其它地区: 4006-505-808

中国石油管理局-Oracle数据库恢
工商银行山东分行-AIX删除LV数
濮阳市地方税务局-CHKDSK后数据
台湾HD公司-FreeBSD Nas无法启
promise乔鼎硬盘阵列数据恢复成
IBM EXP300 磁盘阵列数据恢复成
NAS 8100无法挂载数据卷
Liteon-Dell 2850服务器数据恢

RAID损坏后 对数据的完整备份
LINUX FSCK数据出错灾难应急方
误删除、误格式化数据灾难应急
误GHOST、误一键恢复灾难应急方
磁盘未被格式化,是否格式化数据
raid磁盘阵列OFFLINE后的应急方
硬盘出现异响应急处理
您当前的位置:首页 >> 技术中心 >> 服务器数据恢复文栏 >> 正文

加强redhat linux系统安全的方法

   对于linux我不是很精通,我只是个初学者,因为时间的原因,也没有仔细的研究过.今天总结了一下加强redhat linux系统安全的一些小方法 高手请回避吧

1,禁止使用所有特殊帐号:在lp,sync,shutdown,halt,news,games,gopher等用户中,不使用默认帐号:[root@redhat/]#userdel LP 删除组帐号:[root@redhat/]#groupdel LP

2,启动shadow,并把系统中现有的密码和组改为shadow密码和组:用/usr/sbin/authconfig程序打开shadow 再分别使用pwconv和grpconv两个命令

3,禁止普通用户对控制台的所有访问:运行 [root@redhat/]#rm–f/etc/security/console.apps/halt
  [root@redhat/]#rm–f/etc/security/console.apps/poweroff
  [root@redhat/]#rm–f/etc/security/console.apps/reboot
  [root@redhat/]#rm–f/etc/security/console.apps/shutdown
当然也可以删除xserver文件,这样除了root只外,没有人可以启动xserver了

4,使系统不回应ping:把echo 1>/proc/sys/net/ipv4/icmp_echo_ignore_all命令加到 /etc/rc.d/rc.local 文件中,使系统重启的时候,自动禁止回应ping

5,显示系统发行文件:在 /etc/inetd.conf 文件中的telnet选项改为:telnet stream tcp nowait root/usr/sbin/tcpd in.teknetd –h

6,不接受从不同控制台的根用户登陆:编辑 /ect/security 文件 在不需要的tty前面加# 禁用所选的设备

7,保护 /ect/services文件:运行 [root@redhat/]#chattr+i/ect/services

8,编辑 /ect/host.conf 文件:在 /ect/host.conf 文件中添加 
#Lookup names via DNS first then fall back to /ect/hosts
Order bing,hosts
#We have machines with multiple IP address
multi on
#Check for IP address spoofing
nospoof on

9,隐藏系统的信息:首先在 /ect/rc.d/rc.local 文件中将#写在这些行的前面
  # This will overwrite/ect/issue at every boot.So.make any changes you
  # want to make to/ect/issue here or you will lose them when you reboot
  #echo ””>/ect/issue
 #echo “$R”>>/ect/issue
 #echo “Kernel $(uname –r) on $a $(uname –m)” >>/ect/issue
 #
 #cp –f/ect/issue/ect/issue.net
 #echo >>/ect/issue
 然后在 /ect目录下删除 issue和issue.net文件
 [root@redhat/]#rm –f/ect/issue
 [root@redhat]#rm –f/ect/issue.net

10,删除.bash_history文件:在 /ect/skel/.bash_logout 文件中添加 rm –f$HOME/.bash_history 使每次用户退出的时自动删除.bash_history文件

本文摘自:http://www.pc235.com/software/130.html

上一篇:HP-UX常用命令
下一篇:windows2000虚拟主机基本权限设置
返回首页 | 联系我们 | 关于我们 | 招聘信息 | 友情链接 | 网站地图 | 合作伙伴
版权所有 北京北亚数据恢复中心
24小时免费咨询电话:4006-505-808 或 800-810-5880
公司地址:北京市海淀区学院南路68号吉安大厦C座(汇智楼)528室
京ICP备07502730