当前位置:首页 » 专业资讯
开发技术指南» 文章正文
    引言: [code:1:8d0bc392ea] LinuxSec
 

 

    摘要: apache+mysql+php+proftpd+mod_limitip+mod_bandwidth 一、前言 本人结合网上资料和个人的实践,利用一个下午的时间写出了这个适用于资源下载型网站的典型配置。这种配置的web网站初步实现了ip线程和线程流量的管理,同时proftpd用于上传资源,ssh用于主机管理。无疑这样可以自己支配宝贵的网络带宽,文章后面有个简单的防火墙配置仅供参考,我用的linux版本是redhat as 3.0。希望大家在看了这......
    摘要: 作者:好好先生 参考文档:http://www.puschitz.com/installingoracle9i.shtml 另外还参考了一篇csdn上的安装文档,在此一并表示感谢! 声明:本文可任意转载,但请保留上述信息 ========================================================================== oracle是世界上使用最广泛的数据库,它可以运行在各种计算机上;也是当前最优秀......


Linux Security Tips

[code:1:8d0bc392ea] 【相关文章:透明防火墙架设的完全攻略(bridge+

【扩展阅读:制作Fedora DVD ISO的方法

【扩展信息:我的计算机自学计划!!!给点建议!!!

linux security tips

by kapil sharma

--------------------------------------------------------------------------------

in this article i will explain  how to make your linux box secure by taking  basic security measures. this article will enable anybody to tighten the security of a redhat linux box. 

bios security 

always set a password on bios to disallow booting from floppy by changing the bios settings. this  will block undesired people from trying to boot your linux system with a special boot disk and will  protect you from people trying to change bios feature like allowing boot from floppy drive or  booting the server without password prompt. 

lilo security 

add the three parameters in "/etc/lilo.conf" file i.e. time-out, restricted and  password. these options will ask for password if boot time options (such as "linux single") are passed to the boot loader. 

step 1 

edit the lilo.conf file (vi /etc/lilo.conf) and add or change the three options : 

boot=/dev/hda 

map=/boot/map 

install=/boot/boot.b 

time-out=00   #change this line to 00

prompt 

default=linux 

restricted   #add this line

password=<password>   #add this line and put your password 

image=/boot/vmlinuz-2.2.14-12 

label=linux 

initrd=/boot/initrd-2.2.14-12.img 

root=/dev/hda6 

read-only 

step 2 

the "/etc/lilo.conf" file should be readable by only root because it contains unencrypted passwords. 

 [root@kapil /]# chmod 600 /etc/lilo.conf (will be no longer world readable). 

step 3 

update your configuration file "/etc/lilo.conf" for the change to take effect. 

 [root@kapil /]# /sbin/lilo -v (to update the lilo.conf file). 

step 4 

one more security measure you can take to secure the "/etc/lilo.conf" file is to set it immutable, using the chattr command. 

     *  to set the file immutable simply, use the command: 

             [root@kapil /]# chattr +i /etc/lilo.conf 

this will prevent any changes (accidental or otherwise) to the "lilo.conf" file. 

for more information about lilo security, read my article on lilo. 

  

disable all special accounts 

you should  delete all default users and group accounts that you dont use on your system like lp, sync, shutdown, halt, news, uucp, operator, games, gopher etc 

to delete a user account : 

[root@kapil /]# userdel lp 

to delete a group: 

[root@kapil /]# groupdel lp 

choose a right password 

you should follow the following guidelines before choosing the right password. 


...   下一页
    摘要:       分布式拒绝攻击(ddos)软件tfn2k攻防 首先,我写这篇文章的目的,并不是我想成为什么hacker之类,而且我不并不鼓励任何人利用它来做一些有损他人的事情,我只是想多一 些人关注网络安全,共同研究并防御dos。因为我是深受其害:(,所以,这篇文章仅用于技术参考,供大家研究ddos防御之用。如果你利用它来 做一些不合法的事情,那结果与我无关。 拒绝服务攻击(dos,denial of service)可以指任何使服务不能正常提......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE