The Linux System Administrators' Guide: ¸®´ª½º ½Ã½ºÅÛ °ü¸®ÀÚ °¡À̵å Version 0.6.2 | ||
---|---|---|
Prev | Chapter 9. »ç¿ëÀÚ °èÁ¤ÀÇ °ü¸® | Next |
¶§¶§·Î °èÁ¤À» Á¦°ÅÇÏÁö ¾Ê°í ÀϽÃÀûÀ¸·Î »ç¿ëÇÏÁö ¸øÇϵµ·Ï ÇÏ´Â °ÍÀÌ ÇÊ¿äÇÒ ¶§µµ ÀÖ´Ù. ¿¹¸¦ µé¾î »ç¿ëÀÚ°¡ »ç¿ë·á¸¦ ÁöºÒÇÏÁö ¾Ê¾Ò°Å³ª ½Ã½ºÅÛ ¿î¿µÀÚ°¡ º¸±â¿¡ Å©·¡Ä¿°¡ °èÁ¤ÀÇ ¾ÏÈ£¸¦ °¡Áö°í ÀÖ´Ù°í ÀǽÉÀÌ µå´Â °æ¿ì, ±×·± Á¶Ä¡°¡ ÇÊ¿äÇÏ´Ù.
°èÁ¤À» »ç¿ëÇÏÁö ¸øÇÏ°Ô ÇÏ´Â °¡Àå ÁÁÀº ¹æ¹ýÀº ½©À» Ưº°ÇÑ ÇÁ·Î±×·¥À¸·Î ¹Ù²Ù¾î ¸Þ½ÃÁö¸¸ Ãâ·ÂÇϵµ·Ï ÇÏ´Â °ÍÀÌ´Ù. ÀÌ ¹æ¹ýÀ¸·Î ±× °èÁ¤¿¡ Á¢¼ÓÇÏ·Á´Â »ç¶÷À̶ó¸é ´©±¸³ª Á¢¼Ó¿¡ ½ÇÆÐÇÒ °ÍÀÌ¸ç ±× ÀÌÀ¯¸¦ ¾Ë ¼ö ÀÖ°Ô µÉ °ÍÀÌ´Ù. ¸Þ½ÃÁö·Î »ç¿ëÀÚ·Î ÇÏ¿©±Ý ½Ã½ºÅÛ ¿î¿µÀÚ¿¡°Ô ¿¬¶ôÇØ ¹®Á¦¸¦ ´Ù·çµµ·Ï ¾Ë·ÁÁÙ ¼ö ÀÖ´Ù.
usernameÀ̳ª password¸¦ ´Ù¸¥ °ÍÀ¸·Î ¹Ù²Ù´Â °Í ¿ª½Ã °¡´ÉÇÏ´Ù. ÇÏÁö¸¸ ±×·¯¸é »ç¿ëÀÚ´Â ¹«½¼ ÀÏÀÎÁö ¾Ë ¼ö°¡ ¾øÀ» °ÍÀÌ´Ù. ´çȲÇÑ »ç¿ëÀÚ´Â ´Ù¸¥ ¹æ¹ýÀ» °è¼Ó ½ÃµµÇØ º¼ °ÍÀÌ´Ù. [1]
À§¿¡¼ ¸»ÇÑ Æ¯º°ÇÑ ÇÁ·Î±×·¥À» ¸¸µå´Â °£´ÜÇÑ ¹æ¹ýÀº 'tail scripts'¸¦ Â¥´Â °ÍÀÌ´Ù. :
#!/usr/bin/tail +2 This account has been closed due to a security breach. Please call 555-1234 and wait for the men in black to arrive. |
billg°¡ º¸¾È À§¹ÝÀ¸·Î Àǽɵȴٸé, ½Ã½ºÅÛ ¿î¿µÀÚ´Â ´ÙÀ½°ú °°ÀÌ ÇÒ °ÍÀÌ´Ù. :
# chsh -s /usr/local/lib/no-login/security billg # su - tester This account has been closed due to a security breach. Please call 555-1234 and wait for the men in black to arrive. # |
Tail scripts´Â ±×µéÀÇ À̸§ÀÌ ÀÏ¹Ý À¯Àú ¸í·ÉÀ¸·ÎºÎÅÍ °£¼·¹ÞÁö ¾Êµµ·Ï º°µµÀÇ µð·ºÅ丮¿¡ µÎ¾î¾ß ÇÑ´Ù.
[1] | ¸¸¾à ´ç½ÅÀÌ BOFH(The Bastard Operator From Hell, ¾ûÅ͸® ½Ã½ºÅÛ °ü¸®ÀÚ¸¦ ºñ²¿´Â ¿ì½º°³ ¼Ò¸®)¶ó¸é Ȥ½Ã³ª »ç¿ëÀÚµéÀÌ Áñ°Å¿ö ÇÒÁöµµ ¸ð¸£°Ú´Ù.. |