ftpshut

Section: Maintenance Commands (8)
Updated: March 2000
Index
Return to Main Contents
 

À̸§

ftpshut - ÁöÁ¤ÇÑ ½Ã°£¿¡ ¸ðµç proftd serverµéÀ» shut down  

»ç¿ë¹ý

ftpshut [ -l min ] [ -d min ] time [ warning-message ]  

¼³¸í

ftpshut ¸í·ÉÀº ÀÚµ¿À¸·Î shtudown ÁøÇàÀ» ÁغñÇϸç superuser´Â ÀÚµ¿À¸·Î ÇöÀç proftpd connectionÀ» ²÷À»¼ö ÀÖÀ¸¸ç »õ·Î¿î connectionÀ» °ÅºÎÇϵµ·Ï ÇÒ¼ö ÀÖ´Ù. ¸í·ÉÀº suhtdownÀÌ ÀÓ¹ÚÇÔÀ» proftpd process¿¡ ¾Ë¸®±â À§ÇÏ¿© /etc/shutmsg ¿Í °°Àº control fileÀ» ÀÌ¿ëÇÏ¿© »ç¿ëÇÒ¼ö ÀÖ´Ù.  

¿É¼Ç

time
timeÀº ftp server¸¦ down ½Ãų ½Ã°£À» ¸»ÇÑ´Ù. 'now'¶ó´Â ´Ü¾î´Â Áï½Ã shutdownÀ» Áö½ÃÇϸç number ¶Ç´Â HHMM. À̶ó´Â µÎ°³ÀÇ Çü½ÄÁß Çϳª´Â ¹Ì·¡ÀÇ ½Ã°£¿¡ shut downÀ» Áö½ÃÇÑ´Ù. ù¹ø° Çü½ÄÀº number ºÐ ÈÄ¿¡ server¸¦ down ÇÏ¸ç µÎ¹ø° Áö½ÃÀÚ´Â ÇÏ·çÁß Á¤È®ÇÑ ½Ã°£À» Áö½ÃÇϸç 24-½Ã°£ Çü½ÄÀ» »ç¿ëÇÑ´Ù. (¿¹ ¿ÀÈÄ3½Ã 30ºÐ : 1530 )
-l min
shutdown Àü¿¡ »õ·Î¿î ftp access¸¦ °ÅºÎÇÏ´Â °ÍÀ» ºÐ´ÜÀ§ÀÇ ¼ýÀÚ·Î ÁöÁ¤ÇÑ´Ù. ¸¸¾à -l ¿É¼ÇÀ» ÁöÁ¤ÇÏÁö ¾ÊÀ¸¸é, ±âº»À¸·Î 10ºÐÀÌ Àû¿ëµÈ´Ù. (¸¸¾à shutdown ±îÁö 10ºÐÀÌ Ã¤ ³²Áö ¾Ê´Â´Ù¸é Áï½Ã Àû¿ëµÈ´Ù.
-d min
shutdown Àü¿¡ ÇöÀç ftp connectionµéÀ» Á¾·áÇÏ´Â °ÍÀ» ºÐ´ÜÀ§ÀÇ ¼ýÀÚ·Î ÁöÁ¤ÇÑ´Ù. -d ¿É¼ÇÀ» ÁöÁ¤ÇÏÁö ¾ÊÀ¸¸é ±âº»À¸·Î 5ºÐÀÌ Àû¿ëµÈ´Ù. shutdownÀÌ 5ºÐÀ̳»·Î ³²¾Ò ´Ù¸é Áï½Ã Á¢¼ÓÀÌ Á¾·áµÈ´Ù.
warning-message(°æ°í ¸Þ¼¼Áö)
»õ·Î¿î Á¢¼ÓÀ» °ÅºÎ Çϰųª ÇöÀç ¿¬°áµÇ¾î ÀÖ´Â sessionÀ» Á¾·á½Ãų¶§ ºÎ°¡ÀûÀ¸·Î ¸Þ¼¼Áö¸¦ ÁغñÇÒ¼ö ÀÖ´Ù. ¸Þ¼¼Áö´Â ¾Æ·¡¿Í °°Àº º¯¼ö¸¦ ÀÌ¿ëÇؼ­ ÀÛ¼ºÇÒ¼ö ÀÖ´Ù.
%s
proftpd°¡ Á¾·áÇÏ´Â ½Ã°£
%r
»õ·Î¿î Á¢¼ÓÀÌ °ÅºÎµÇ±â ½ÃÀÛÇÏ´Â ½Ã°£
%d
ÇöÀç Á¢¼ÓÀÌ Á¾·áµÇ´Â ½Ã°£
%C
ÇöÀç ÀÛ¾÷ÁßÀÎ directory (where applicable)
%L
local host name (of virtualhost name)
%R
remote host name
%T
local time (Çü½Ä : Thu Nov 15 17:12:42 1990)
%U
login time ½Ã¿¡ ÁÖ¾îÁø username
 

CAVEATS

Proftpd server´Â master demonÀÌ standalone mode·Î µ¿À۽ÿ¡´Â ftpshutÀ» ÅëÇؼ­¸¸ shutdownÀ» ÇÒ¼ö°¡ ÀÖ´Ù. Server°¡ inetd mode·Î »øÇàÀÌ µÈ´Ù¸é ftpshut¿¡ ÀÇÇØ »ý¼ºµÈ shutdown message fileÀ» »ç¿ëÇÒ¼ö ÀÖ´Ù. ÇÏÁö¸¸ ÇöÀç µ¿ÀÛÁßÀÎ server´Â chrootµÇ¾î Áú°ÍÀ̸ç, shutdown message control fileÀ» ÀÐÁö ¸øÇÑ´Ù.

ÇöÀç ½Ã°£º¸´Ù ÀÌÀü ÀÇ ½Ã°£À» Àý´ëÀû shutdown ½Ã°£À¸·Î ÁöÁ¤ÇÒ ¼öµµ Àִµ¥ ÀÌ °æ¿ì¿¡´Â ´ÙÀ½³¯ ÁöÁ¤ÇÑ ½Ã°£ÀÌ µÇ¾î¾ßÁö shutdownÀÌ µÈ´Ù.  

ÆÄÀÏ

/usr/sbin/ftpshut
/etc/shutmsg  

ÀúÀÚ

ProFTPD´Â Floody¿¡ ÀÇÇÏ¿© óÀ½ °³¹ßµÇ¾î Á³À¸³ª ÇöÀç´Â MacGyver (aka Habeeb J. Dihu)¿¡ ÀÇÇÏ¿© °³¹ßµÇ¾î Áö°í ÀÖ´Ù. <macgyver@tos.net> [http://www.macgyver.org]  

ÂüÁ¶

inetd(8),ftp(1),proftpd(8),ftpwho(1),ftpcount(1)

proftpd ¼³Á¤ÀÇ ¹®¼­´Â http://www.proftpd.net¿¡¼­ º¼¼ö ÀÖ´Ù.

¹ö±× ¸®Æ÷Æ®´Â http://bugs.proftpd.net À¸·Î ÇÑ´Ù. µµ¿ò¹× Áö¿øÀº Proftpd ¸ÞÀϸµ ¸®½ºÆ®¸¦ ÀÌ¿ëÇϵµ·Ï ÇÑ´Ù. ¸ÞÀϸµ ¸®½ºÆ®´Â proftp@proftpd.net ÀÌ´Ù. (http://www.proftpd.lists.html À» ÂüÁ¶Ç϶ó)  

¿ªÀÚ

±èÁ¤±Õ <admin@oops.org> 1999³â 5¿ù ?ÀÏ


 

Index

À̸§
»ç¿ë¹ý
¼³¸í
¿É¼Ç
CAVEATS
ÆÄÀÏ
ÀúÀÚ
ÂüÁ¶
¿ªÀÚ

This document was created by man2html, using the manual pages.
Time: 08:07:02 GMT, March 25, 2004