亚洲AV无码乱码在线观看不卡|最新大伊香蕉精品视频在线|亚洲不卡av一区二区|国产美女无遮挡免费

登錄論壇 | 注冊會員 設(shè)為首頁 | 收藏本站
當前位置 : 首頁>軟件學院>操作系統(tǒng)>linux系統(tǒng)>正文
 
Linux系統(tǒng)網(wǎng)絡(luò)安全配置基礎(chǔ)詳解

http://m.yibo1263.com 2008-8-13 9:04:39  來源:ccident  編輯:葉子
 


  *-rws--x--x 1 root root 5576 Apr 17 12:57 /usr/bin/newgrp

  *-rwxr-sr-x 1 root tty 8392 Apr 17 12:57 /usr/bin/write

  -rwsr-x--- 1 root squid 14076 Oct 7 14:48 /usr/lib/squid/pinger

  -rwxr-sr-x 1 root utmp 15587 Jun 9 09:30 /usr/sbin/utempter

  *-rwsr-xr-x 1 root root 5736 Apr 19 15:39 /usr/sbin/usernetctl

  *-rwsr-xr-x 1 root bin 16488 Jul 6 09:35 /usr/sbin/traceroute

  -rwsr-sr-x 1 root root 299364 Apr 19 16:38 /usr/sbin/sendmail

  -rwsr-xr-x 1 root root 34131 Apr 16 18:49 /usr/libexec/pt_chown

  -rwsr-xr-x 1 root root 13208 Apr 13 14:58 /bin/su

  *-rwsr-xr-x 1 root root 52788 Apr 17 15:16 /bin/mount

  *-rwsr-xr-x 1 root root 26508 Apr 17 20:26 /bin/umount

  *-rwsr-xr-x 1 root root 17652 Jul 6 09:33 /bin/ping

  -rwsr-xr-x 1 root root 20164 Apr 17 12:57 /bin/login

  *-rwxr-sr-x 1 root root 3860 Apr 19 15:39 /sbin/netreport

  -r-sr-xr-x 1 root root 46472 Apr 17 16:26 /sbin/pwdb_chkpwd

  [root@deep]# chmod a-s /usr/bin/chage

  [root@deep]# chmod a-s /usr/bin/gpasswd

  [root@deep]# chmod a-s /usr/bin/wall

  [root@deep]# chmod a-s /usr/bin/chfn

  [root@deep]# chmod a-s /usr/bin/chsh

  [root@deep]# chmod a-s /usr/bin/newgrp

  [root@deep]# chmod a-s /usr/bin/write

  [root@deep]# chmod a-s /usr/sbin/usernetctl

  [root@deep]# chmod a-s /usr/sbin/traceroute

  [root@deep]# chmod a-s /bin/mount

  [root@deep]# chmod a-s /bin/umount

  [root@deep]# chmod a-s /bin/ping

  [root@deep]# chmod a-s /sbin/netreport

  你可以用下面的命令查找所有帶s位標志的程序:

  [root@deep]# find / -type f \( -perm -04000 -o -perm -02000 \) \-exec ls -lg {} \;

  >; suid-sgid-results

  把結(jié)果輸出到文件suid-sgid-results中。

  為了查找所有可寫的文件和目錄,用下面的命令:

  [root@deep]# find / -type f \( -perm -2 -o -perm -20 \) -exec ls -lg {} \; >; ww-files-results

  [root@deep]# find / -type d \( -perm -2 -o -perm -20 \) -exec ls -ldg {} \; >; ww-directories-results

  用下面的命令查找沒有擁有者的文件:

  [root@deep]# find / -nouser -o -nogroup >; unowed-results

  用下面的命令查找所有的.rhosts文件:

  [root@deep]# find /home -name .rhosts >; rhost-results

  四、建議替換的常見網(wǎng)絡(luò)服務應用程序

  WuFTPD

  WuFTD從1994年就開始就不斷地出現(xiàn)安全漏洞,黑客很容易就可以獲得遠程root訪問(Remote Root Access)的權(quán)限,而且很多安全漏洞甚至不需要在FTP服務器上有一個有效的帳號。最近,WuFTP也是頻頻出現(xiàn)安全漏洞。

  它的最好的替代程序是ProFTPD。ProFTPD很容易配置,在多數(shù)情況下速度也比較快,而且它的源代碼也比較干凈(緩沖溢出的錯誤比較少)。有許多重要的站點使用ProFTPD。sourceforge.net就是一個很好的例子(這個站點共有3,000個開放源代碼的項目,其負荷并不小。。。一些Linux的發(fā)行商在它們的主FTP站點上使用的也是ProFTPD,只有兩個主要Linux的發(fā)行商(SuSE和Caldera)使用WuFTPD。

  ProFTPD的另一個優(yōu)點就是既可以從inetd運行又可以作為單獨的daemon運行。這樣就可以很容易解決inetd帶來的一些問題,如:拒絕服務的攻擊(denial of service attack),等等。系統(tǒng)越簡單,就越容易保證系統(tǒng)的安全。WuFTPD要么重新審核一遍全部的源代碼(非常困難),要么完全重寫一遍代碼,否則WuFTPD必然要被ProFTPD代替。

本新聞共7頁,當前在第5頁  1  2  3  4  5  6  7  

 
收藏】【打印】【進入論壇
  相關(guān)文章:

·Linux防火墻偽裝機制抵抗黑客攻擊
·簡單介紹Linux內(nèi)核安全入侵偵察系統(tǒng) 
·使用國外Linux主機做網(wǎng)站要注意2點 
·大企業(yè)后端使用Linux十大常見方式 
·化解四種入侵Linux服務器方法 
·蓋茨新個人網(wǎng)站使用Linux服務器
·Linux系統(tǒng)安全知識 防范黑客攻擊
·Linux服務器維護的四大法寶
·在關(guān)閉的Linux機器實現(xiàn)防火墻功能
·Linux系統(tǒng)清除Grub的幾種方法
·Linux改善FTP服務器的安全性

 
 
 
 
最新文章

中關(guān)村艷照門女主角詳記錄高清組圖 
大連護士門大尺度艷照高清組圖
iPhone女孩微博爆紅 最寶貴東西換iPhon
團購鼻祖Groupon中國揭秘:快與慢的商業(yè)
Spil Games發(fā)布新的品牌形象
1800配置一臺主機 不要顯示器
反恐精英之父內(nèi)維爾:改變電腦游戲銷售
團購網(wǎng)站黎明之前:中國市場慘烈廝殺不
聯(lián)想V360筆記本模特寫真
愛國者第四代移動硬盤將面市、低電壓保

 
推薦文章
1
2
3
4
5
6
7
8
9
10
iPhone女孩微博爆紅 最寶貴東西換
大連護士門大尺度艷照高清組圖
中關(guān)村艷照門女主角詳記錄高清組
蘋果員工中毒門
宮如敏不雅照瘋傳 看張馨予韓一菲
深耕市場 永續(xù)經(jīng)營——專訪百腦匯
優(yōu)派專業(yè)電子書 讓您回家旅途多姿
揭曉百萬大獎三星bada魅力綻放中
大明龍權(quán)“江湖英雄會”全國PK大
永恒之塔校園達人挑戰(zhàn)賽完美落幕
八卦圖解 More>>
iPhone女孩微博爆紅 最寶貴東西換 大連護士門大尺度艷照高清組圖
中關(guān)村艷照門女主角詳記錄高清組 宮如敏不雅照瘋傳 看張馨予韓一菲