B / Y / U / S
HOME À¥ È£½ºÆà µµ¸ÞÀÎ ¸Å´º¾ó °í°´Áö¿ø ¼³Á¤Á¤º¸ °èÁ¤½Åû 2024-12-23 Monday 
À¥ È£½ºÆÃ
# °øÁö »çÇ×
# ÀÚÁÖ ¹¯´Â Áú¹®
# Áú¹®°ú ´äº¯
# °¡ÀÔ ¹®ÀÇ
Ä¿¹Â´ÏƼ
# ÀÚÀ¯°Ô½ÃÆÇ
# ¸®´ª½ºÆÁ
# ¾ÆÀÌÅ¥ Å×½ºÆ®
# ³»È¨ ¼Ò°³
# °Ö·¯¸®
# ÀÚ·á½Ç

  ¸®´ª½ºÆÁ  Go Unix Power Tools Online Book Go Bash Guide
Read No. 31 article 2001-08-15 19:49:37
NickName   Ç®ºñ´©
Subject   ¸®´ª½º ¼³Ä¡ÈÄ Ãʱ⺸¾È ¼³Á¤¹ý




º¸¾È¿¡ ´ëÇÑ ¾à°£³»¿ëÀ» Á¤¸®ÇØ º¸¾Ò½À´Ï´Ù. 

1. ¼­¹ö·Î »ç¿ëÇÒ ¿¹Á¤À̶ó¸é X-Window´Â ¼³Ä¡ÇÏÁö ¾Ê´Â´Ù 
2. ps aux ¶Ç´Â ps auxc·Î È®ÀÎÇÏ¿© ºÒÇÊ¿äÇÑ µ¥¸óÀº ¶ç¿ìÁö ¾Ê´Â´Ù. 
±âº»ÀûÀ¸·Î portmap / identd / atd / lpd /gp -t / xfs µîÀº »èÁ¦. 
3. /etc/rc.d/rc3.d¿¡¼­ ºÒÇÊ¿äÇÑ ¼­ºñ½º´Â »èÁ¦ÇÑ´Ù. 
4. ºÒÇÊ¿äÇÑ °èÁ¤Àº »èÁ¦ ÇÑ´Ù. 
ftp, xfs, adm, lp, newes, gopher¸¦ /etc/passwd¿Í /etc/group ¿¡¼­ ÁÖ¼®Ã³¸® ¶Ç´Â 
userdel uid, groupdel gid¸¦ ÇÏ¸é µÈ´Ù. 
#userdel adm 
#userdel lp 
#userdel sync 
#userdel shutdown 
#userdel halt 
#userdel news 
#userdel uucp 
#userdel operator 
#userdel games 
#userdel gopher 
#userdel ftp (anymous FTP server¸¦ ¿î¿µÇÏÁö ¾ÊÀ¸¸é »èÁ¦ ÇÑ´Ù.) 
#groupdel adm 
#groupdel lp 
#groupdel news 
#groupdel uucp 
#groupdel games 
#groupdel dip 
#groupdel pppusers 
#gropudel slipusers 

5. ÆÛ¹Ì¼Ç ¼³Á¤º¯°æ-¸î¸î Áß¿äÇÑ ¼³Á¤ ÆÄÀÏÀÇ Æ۹̼ÇÀ» º¯°æÇÏ¿µ ÀÏ¹Ý À¯ÀúµéÀÇ Á¢±ÙÀ» 
Á¦ÇÑÇÑ´Ù. 

chmod 700 /etc/exports 
chmod 700 /etc/fstab 
chmod 700 /usr/bin/chage 
chmod 700 /usr/bin/wall 
chmod 755 /usr/bin/man 
chmod 700 /usr/bin/chfn 
chmod 700 /usr/bin/write 
chmod 700 /usr/sbin/usernetctl 
chmod 700 /bin/mount 
chmod 700 /bin/umonut 
chmod 700 /sbin/netreport ·Î »ç¿ëÀ» ºÒ°¡´ÉÇÏ°Ô ÇÑ´Ù. 

chattr +i /etc/fstab¿Í °°ÀÌ ¼Ó¼º¿¡ LockÀ» °É¾î ÆÄÀÏÀ» ¼öÁ¤ ÇÒ ¼ö ¾ø°Ô ÇÑ´Ù. 

6. ½Ã½ºÅÛ °ü·Ã ¸í·É¾î¸¦ ƯÁ¤ ±×·ì¿¡¼­¸¸ »ç¿ë°¡´É Çϵµ·Ï ¼³Á¤ 
(ƯÁ¤ÀûÀÎ »ç¿ëÀÚ¿¡°Ô¸¸ ±ÇÇÑÀ» ÁÙ ¼ö ÀÖ´Ù.) 
chmod 750 /bin/ps 
chmod 750 /bin/netstat 
chmod 750 /bin/dmesg 
chmod 750 /bin/df 
chmod 750 /usr/bin/who 
chmod 750 /usr/bin/finger 
chmod 750 /usr/bin/last 
chmod 750 /usr/bin/top 
chmod 750 /usr/bin/w 

chgrp wheel /bin/ps 
chgrp wheel /bin/netstat 
chgrp wheel /bin/dmesg 
chgrp wheel /bin/df 
chgrp wheel /usr/bin/w 
chgrp wheel /usr/bin/who 
chgrp wheel /usr/bin/finger 
chgrp wheel /usr/bin/last 
chgrp wheel /usr/bin/top 

- /etc/groupÀ» ¿­¾î 
wheel:x:10:root,tt ¿Í °°ÀÌ tt ¶ó´Â °èÁ¤À» wheel ±×·ì¿¡ Ãß°¡ ÇÑ´Ù. 
±×·¯¸é, root¸¦ Æ÷ÇÔÇÏ¿© wheel ±×·ì¿¡ ¼ÓÇÑ tt¶ó´Â °èÁ¤¸¸ÀÌ À§ ¸í·É¾î¸¦ ¼öÇàÇÒ ¼ö ÀÖ´Ù.
Regist Addr [ 127.0.0.1 ] ¸ñ·Ïº¸±â À­±Û ¾Æ·§±Û
Á¤±ÔÇ¥Çö½Ä [ »ó¼¼ °Ë»ö ]
Page Loading [ 0.02 Sec ] SQL Time [ 0 Sec ]

Copyleft 1999-2024 by JSBoard Open Project
Theme Designed by IDOO And follow GPL2

°³ÀÎÁ¤º¸ Ãë±Þ¹æħ ÀÌ¿ë ¾à°ü »çÀÌÆ® ¸Ê ¾îµå¹Î °ü¸®