µ±Ç°Î»ÖãºLinux½Ì³Ì - Linux×ÊѶ - ¹¦ÄܷḻµÄ Perl£ºxinetd ³ÌÐòÓÃÓÚϵͳ¹ÜÀí

¹¦ÄܷḻµÄ Perl£ºxinetd ³ÌÐòÓÃÓÚϵͳ¹ÜÀí

¡¡¡¡¿ªÊ¼Ö®Ç°¡¡¡¡ÎªÊµÏÖ±¾ÎĵÄÄ¿µÄ£¬ÄúµÄϵͳ×îºÃ°²×°ÁË×î½üµÄÖ÷Á÷£¨2000 »ò¸üУ©UNIX£¨Linux¡¢Solaris¡¢BSD£©¡£ÕâЩʾÀýÔÚ Perl ºÍ UNIX£¨ÒÔ¼°ÆäËü²Ù×÷ϵͳ£©µÄÔçÆÚ°æ±¾ÉÏÒ²¿ÉÒÔÔËÐУ¬µ«ÊÇËüÃǹ¦ÄÜ·½ÃæµÄÕÏ°­Ó¦¸ÃÓɶÁÕß×÷ΪÁ·Ï°À´½â¾ö¡£¸ø¶¨µÄÌض¨Ê¾ÀýÊÇÓÃÓÚ Red Hat Linux µÄ£¬µ«ÊÇËüÃÇÔÚÆäËüϵͳÉÏÓ¦¸ÃÒ²¿ÉÒÔÔËÐУ¨³ý chkconfig ÒÔÍ⣩¡£¡¡¡¡¡¡¡¡inetd µ½µ×ÊÇʲô¡¡¡¡¶ÔÓÚ UNIX ϵͳ¹ÜÀíÔ±£¬inetd ºÍ cp/rm/mv ÃüÁîÒ»Ñù»ù±¾¡£Ëü×ÜÊÇ´æÔÚ£¬²¢×¼±¸×Å´¦ÀíÈëÕ¾Á¬½Ó¡£µ«Ëüµ½µ×ÊÇʲô£¿ËüÓÃÀ´×öʲô£¿¡¡¡¡¡¡¡¡Ê×ÏÈ´Ó TCP/IP £¨ËüÒ²°üÀ¨ UDP£¬µ«ÎÒÃÇÄ¿Ç°»¹²»¿¼ÂÇ£©¿ªÊ¼»Ø´ð¡£µ±Äú½¨Á¢Óëһ̨Ö÷»úµÄÁ¬½Óʱ£¬Êµ¼ÊÉÏÊÇ´´½¨ÁËÒ»¸ö TCP/IP Á¬½Ó£¨Í¨³£ÊÇÒ»¸öÌ×½Ó×Ö£© ¡ª ÕâºÃÏóÊÇÔÚÄúºÍÖ÷»úÖ®¼ä´òÁËÒ»¸öµç»°¡£TCP/IP Á¬½ÓÓÉÆðʼÖ÷»úºÍ½ÓÊÕÖ÷»úΨһµØ¶¨Ò壬µ«»¹ÓÐÆäËü±êʶ¡£Èç¹ûÎÒÃǶ¼Á¬½Óµ½Ò»Ì¨·þÎñÆ÷£¬ËüÈçºÎÇø·Ö webserver¡¢telnet¡¢SSH¡¢FTP ºÍÆäËüÁ¬½ÓÄØ£¿Ì×½Ó×ÖҲͨ¹ý½¨Á¢Á¬½ÓËùʹÓõĶ˿ÚÀ´¶¨Òå¡£ÀýÈ磬¶Ë¿Ú 21 ÊÇÈëÕ¾ FTP¡¢¶Ë¿Ú 22 ÊÇ SSH¡¢¶Ë¿Ú 23 ÊÇ TELNET£¨ÓйØÆäËü´ó¶àÊý¶Ë¿Ú£¬¿ÉÒԲ鿴 UNIX ϵͳÉ쵀 /etc/services£©¡£¡¡¡¡¡¡¡¡Ò»µ©½¨Á¢ÁËÁ¬½Ó£¬Ä³È˾ÍÔÚÁíÒ»¶ËÄÃÆðÁ˵绰¡£Õâ¿ÉÒÔÊǽÓÏßÔ±»òÖ±Ïß¡£Ö±Ïß±íʾÄúÖ±½ÓÁ¬½Óµ½ÁË·þÎñÆ÷£¬¶ø½ÓÏßÔ±ÊÇÉæ¼° inetd µÄ·½·¨¡£½ÓÏßԱʵ¼ÊÉÏ´¦ÀíÒ»×éÈëÕ¾Ö±Ïߣ¨Ö÷»úÉϵĶ˿ڣ©£¬²¢Ç××Ô½«ËüÃǽ»¸ø¸ºÔðµÄ³ÌÐò£¨·þÎñÆ÷£©¡£¡¡¡¡¡¡¡¡UDP ÊÇÁíÒ»ÖÖÁ¬½Ó·½·¨¡£Ïó TCP Ò»Ñù£¬UDP »ù±¾ÉÏÊǺÍijÈ˵ĶԻ°£¬µ«ÊDz»±£Ö¤ËüÊÇ¿É¿¿µÄ¡£UDP£¨¼ÌÐøʹÓõ绰µÄ±ÈÓ÷£©¾ÍÏó½«ÏûÏ¢ÈÓµ½´«ËÍ´øÉÏ£¬ÈýÓÊÕÕßÕ¾µ½ÁíÒ»¶Ë¡£Äú¿ÉÒÔ´Ó´«ËÍ´øµÃµ½Ðí¶àÏûÏ¢£¬µ«ÊÇÈç¹ûÏûϢ̫¶à£¨ÍøÂçÁ÷Á¿¸ß£©»òÕ߶ÁÈ¡ÏûÏ¢·Ñʱ̫¾Ã£¨·þÎñÆ÷棩£¬Ôò½ÓÊÕÕß¿ÉÄܻᶪʧһЩÏûÏ¢¡£¡¡¡¡¡¡¡¡Èç¹ûʹÓà inetd£¬ÔÚÖ´ÐÐһЩ¼ì²éºó£¬Äú±»Öض¨Ïòµ½Ìض¨·þÎñÆ÷¡£Ö»ÓÐÒ»¸öÅäÖÃÎļþ ¡ª inetd.conf£¬¹ÜÀíËùÓÐÈëÕ¾Á¬½Ó¡£Òò¶øÔÚϵͳÉÏÌí¼Ó¡¢É¾³ý¡¢¸ü¸Ä»ò¸´²é·þÎñ±äµÃ¸üΪ¼òµ¥¡£ÀýÈ磬ÔÚ Solaris ϵͳÉÏʹÓà TCP ·â×°Æ÷½« ftp ¶¨ÒåÈçÏ£º¡¡¡¡¡¡¡¡Çåµ¥ 1£¬FTP ·þÎñµÄ inetd.conf ¶¨Òå ftp¡¡¡¡ stream¡¡tcp¡¡¡¡ nowait¡¡root¡¡¡¡/usr/sbin/tcpd¡¡¡¡¡¡¡¡¡¡in.ftpd¡¡¡¡¡¡¡¡ÕâЩÊÇ´´½¨Ò»¸ö FTP Á¬½ÓËùÐèµÄÈ«²¿²ÎÊý¡£¼òµ¥µØ˵£¬ÎÒÃÇÒÔÃæÏòÁ÷£¨stream£©µÄ·½Ê½Ê¹Óà TCP/IP£¨tcp£©Ê±£¬Í¬Ê±ÔÊÐí¶à¸ö FTP Á¬½Ó£¨nowait£©¡¢×÷Ϊ root ÔËÐÐÒÔ¼°µ÷Óà FTP£¨½ÓÏÂÀ´£¬TCP ·â×°Æ÷½«µ÷Óà FTP ÊØ»¤³ÌÐò£©¡£¡¡¡¡¡¡¡¡ÓÃÒ»ÉÏÎçµÄʱ¼ä½âÎöºÜÀ§ÄÑÂ𣿾ø¶ÔÀ§ÄÑ¡£ÓбØÒªÕâô¸´ÔÓÂ𣿲»¡£xinetd ¼Ì³ÐÁË inetd µÄÉè¼Æ²¢½«ËüÄ£¿é»¯£¬ÕâÒâζ×Åÿ¸ö·þÎñ¶¼¿ÉÒÔ´æÔÚÓÚËü×Ô¼ºµÄÅäÖÃÎļþÖС£xinetd »¹Ìí¼ÓÁËһЩÏó TCP ·â×°Æ÷Ö®ÀàµÄ¹¦Äܲ¿¼þ£¬Ê¹µÃÅäÖøü¼Ó¼òµ¥¡£¡¡¡¡¡¡¡¡xinetd ±£³ÖÁËÖÐÑëÅäÖ㨽ÓÏßÔ±£©·½·¨£¬½«ËùÓÐÅäÖÃÎļþ´æ´¢µ½µ¥Ò»Î»Öã¬Í¨³£ÊÇ /etc/xinetd.conf ºÍ /etc/xinetd.d/*£¬Ê¹ÏµÍ³¹ÜÀíÔ±¿ÉÒÔ¸üÈÝÒ׵ػñµÃ¡£Ä£¿é»¯ÅäÖÃÒâζ×Å£¬Äú¿ÉÒÔͨ¹ý½«·þÎñ¸´ÖƵ½ xinetd.d Ŀ¼À´Ïò¶ą̀»úÆ÷ÉÏ·Ö·¢¸Ã·þÎñ£¬Ò²¿ÉÒÔÓÃͬÀàµÄÊֶγýÈ¥Ëü¡£ÉõÖÁ¿ÉÒÔÖ¸¶¨¶îÍâµÄ°üº¬Ä¿Â¼¡£¡¡¡¡¡¡¡¡×îºó£¬xinetd FAQ£¨Çë²ÎÔı¾ÎĺóÃæµÄ²Î¿¼×ÊÁÏ£©ÉùÃ÷ÁË RPC ³ÌÐòÔÚ xinetd ÏÂÔËÐеò»Ì«ºÃ¡£²»¹ýûÎÊÌ⣬¶Ô RPC ʹÓà inetd£¬²¢¶ÔÆäËüËùÓзþÎñʹÓà xinetd¡£Õâ¾ÍÏó¹ÍÁËÁ½¸ö½ÓÏßÔ±£¬Ò»¸ö˵Î÷°àÑÀÓÁíÒ»¸ö˵ËùÓÐÆäËüÓïÑÔ¡£¡¡¡¡¡¡¡¡xinetd ¼ò½é¡¡¡¡ÄÇô xinetd ÊÇʲô£¿Ò»¾ä»°£¬Ëü¾ÍÊǸö³ÌÐò¡£´¦ÀíÈëÕ¾ÍøÂçÁ¬½ÓûʲôÉñÆæ¡£¿ÉÒÔʹÓà Perl¡¢Python »ò Java À´´¦Àí¡£Xinetd ÊÇÓà C ±àдµÄ£¬¶øÇÒËüºÍËüµÄÇ°±² inetd Ò»Ñù¿ì£¬Èç¹û²»ÊǸü¿ìµÄ»°£¨ÀýÈ磬TCP ·â×°Æ÷²»±ØΪÿ¸öÈëÕ¾Á¬½Ó¶øÖ´ÐУ»ËüÃÇÔÚÆô¶¯Ê±×°ÈëÄڴ棩¡£¡¡¡¡¡¡¡¡xinetd ÕýÔÚ¿ª·¢ÖС££¨ÄúµÄ°æ±¾¿ÉÄܹýʱÁË£¬ËùÒÔÇëÎñ±Øµ½Ö÷Ò³ÉϲéÕÒ×îеİ汾£»Çë²ÎÔIJο¼×ÊÁÏ¡££©ÒòΪËüÕýÔÚ¿ª·¢ÖУ¬ËùÒÔ xinetd µÄ°²È«Â©¶´µÃÒÔѸËÙÃÖ²¹£¬¶ø²»Ïó inetd ÄÇÑù±¡Èõ£¬Í¨³£ÒªºÜ³¤Ê±¼ä²ÅÄÜÃÖ²¹¡£µ±È»£¬xinetd ÊÇËæÔ´´úÂëÒ»Æ𽻸¶µÄ£¬ËùÒÔÄú¿ÉÒÔ¸´²éÔ´´úÂë²¢×Ô¼ºÕÒµ½¿ÉÄÜ´æÔÚÈõµãµÄµØ·½¡£¡¡¡¡¡¡¡¡ÈçºÎʹÓà xinetd ¶¨Òå·þÎñÄØ£¿±àдһ¸ö·þÎñÎļþ£¬Ëü³ýÁËÖ¸¶¨ /etc/xinetd.conf ÖÐËùÖ¸¶¨µÄÒ»°ã²ÎÊýÖ®Í⣬»¹Ö¸¶¨Ìض¨ÅäÖá£ËùÒÔ£¬Èç¹û /etc/xinetd.conf ÊÇÕâÑùµÄ£º¡¡¡¡¡¡¡¡Çåµ¥ 2£¬Ñù±¾ xinetd.conf£¨±ê×¼µÄ Red Hat 7.1£© defaults¡¡¡¡{¡¡¡¡¡¡¡¡¡¡¡¡instances¡¡¡¡¡¡¡¡¡¡¡¡¡¡ = 60¡¡¡¡¡¡¡¡¡¡¡¡log_type¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡= SYSLOG authpriv¡¡¡¡¡¡¡¡¡¡¡¡log_on_sUCcess¡¡¡¡¡¡¡¡¡¡= HOST PID¡¡¡¡¡¡¡¡¡¡¡¡log_on_failure¡¡¡¡¡¡¡¡¡¡= HOST¡¡¡¡¡¡¡¡¡¡¡¡cps¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ = 25 30¡¡¡¡}¡¡¡¡¡¡¡¡service telnet¡¡¡¡{¡¡¡¡¡¡¡¡¡¡¡¡flags¡¡¡¡¡¡¡¡¡¡ = REUSE¡¡¡¡¡¡¡¡¡¡¡¡socket_type¡¡¡¡ = stream¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡wait¡¡¡¡¡¡¡¡¡¡¡¡= no¡¡¡¡¡¡¡¡¡¡¡¡user¡¡¡¡¡¡¡¡¡¡¡¡= root¡¡¡¡¡¡¡¡¡¡¡¡server¡¡¡¡¡¡¡¡¡¡= /usr/sbin/in.telnetd¡¡¡¡¡¡¡¡¡¡¡¡log_on_failure¡¡+= USERID¡¡¡¡¡¡¡¡¡¡¡¡disable¡¡¡¡¡¡¡¡ = yes¡¡¡¡}¡¡¡¡¡¡¡¡includedir /etc/xinetd.d¡¡¡¡¡¡¡¡Äú·Åµ½ /etc/xinetd.d ÖеÄÿ¸ö·þÎñÎļþ¶¼»á¼Ì³ÐÕâЩȱʡֵ£¬²¢Ö¸¶¨Ëü×Ô¼ºµÄ²ÎÊý¡£ÕâÀtelnet ·þÎñÔÚ¶¥¼¶¶¨Ò壬¶ø²»ÊÇÔÚ×ÓĿ¼Öж¨Òå¡£ÕâÌ«°ôÁË£¬ÕâÖÖÄ£¿éÐÔÔÊÐí¸´ÔÓµÄÅäÖᣡ¡¡¡¡¡¡¡ÒªÊ¹ xinetd ÖØжÁÈ¡ÅäÖÃÎļþ£¬²»±ØÖØÐÂÆô¶¯Ëü¡£Ö»ÒªÏòËü·¢ËÍ USR2 Ðźż´¿É¡£¡¡¡¡¡¡¡¡ÄÇЩ²ÎÊý±íʾʲôÒâ˼£¿ÈÃÎÒÃÇͨ¶ÁÕû¸öÇåµ¥¡£ÄúÒ²¿ÉÒÔÔÚÃüÁîÐÐÏÂʹÓà man xinetd.conf À´²é¿´ÁÐ±í£¨Èç¹ûÄǸö°ïÖúÒ³ÃæÕýÈ·°²×°µÄ»°£©£¬µ«Õâ¸ö¸ÅÊöÊÔͼÓøü¼òµ¥µÄÊõÓïÀ´½âÊͲÎÊý£¬²¢²»¼Ù¶¨ÄúÒѾ­ÖªµÀ¹ØÓÚÌ×½Ó×ֺͷþÎñµÄËùÓÐÐÅÏ¢¡£Ò»Ð©²ÎÊý£¨rpc_version¡¢rpc_number£©±»Ìø¹ý¡£¡¡¡¡¡¡¡¡³£¹æ²ÎÊý¡¡¡¡id ¡¡¡¡¸Ã·þÎñµÄΨһÃû³Æ¡£·þÎñÃû³ÆÔÚ»¨À¨ºÅ֮ǰָ¶¨£¬µ«ÊÇ ID ʹÂß¼­ÉÏÏàͬµÄ·þÎñ¿ÉÄÜÓµÓжà¸öЭÒé¡£ÕâÊǶÔÓÚÁÙʱÓû§µÄÊÜÏÞʹÓá£ÀýÈ磬NFS ·þÎñ¿ÉÒÔÔÚ UDP »ò TCP ´«ÊäЭÒéÉÏÔËÐС£ÔÚ Red Hat Linux 7.1 ÉÏ£¬TCP °æ±¾£¨ÔÚ /etc/xinetd.d/time ÖУ©ºÍ UDP °æ±¾£¨ÔÚ /etc/xinetd.d/time-udpÖУ©ÖÐÌṩÁ˶ÔÓÚ xinetd À´ËµÄÚ²¿µÄʱ¼ä·þÎñ¡£¡¡¡¡¡¡¡¡type ¡¡¡¡Õâʵ¼ÊÉÏÓ¦¸Ã³ÆΪ¡°ÌØÊâÀàÐÍ¡±£¬ÒòΪËüÖ»ÊÊÓÃÓÚÌØÊâ·þÎñ¡£Ëü¿ÉÒÔÊÇÒÔϼ¸ÖÖÀàÐ͵Ä×éºÏ£º¡°RPC¡±£¬ÓÃÓÚ RPC ·þÎñ£¨ÓÉ SUN ÒýÈëµÄÔ¶³Ì¹ý³Ìµ÷Ó㬵¼ÖÂÁ˺ܶలȫÐÔÎÊÌ⣬×îºÃ±ÜÃâʹÓã©£»¡°INTERNAL¡±£¬ÓÃÓÚ¹¹½¨µ½ xinetd ÄÚ²¿µÄ·þÎñ£¬Æ©Èçʱ¼ä·þÎñ£»¡°UNLISTED¡±£¬ÓÃÓÚÔÚϵͳÁÐ±í£¨/etc/services »òÓÃÓÚ RPC ·þÎñµÄ /etc/rpc£©ÖÐÕÒ²»µ½µÄ·Ç±ê×¼·þÎñ¡£¡¡¡¡¡¡¡¡flags ¡¡¡¡ÕâÀï·ÅÖÃ×ÅËùÓжîÍâ±êÖ¾¡£ÁбíºÜ³¤²¢ÇÒ¼¼ÊõÐÔºÜÇ¿£»ÎÒÃǸÐÐËȤµÄ±êÖ¾°üÀ¨ REUSE£¨ÓÃÓÚÌ×½Ó×ÖÖØÓã¬Æ©Èç telnet£©¡¢NAMEINARGS/NOLIBWRAP£¨Èç¹ûÄúÏ£ÍûÊÖ¹¤µ÷Óà TCP ·â×°Æ÷»òÕßÍêÈ«µØ±ÜÃâʹÓ÷â×°Æ÷£©¡¢NODELAY/KEEPALIVE£¨ÓÃÓÚµ÷Õû TCP Ì×½Ó×Ö£©¡¢DISABLE£¨¸²¸Ç¶¥¼¶¡°disable¡±²ÎÊý£©ÒÔ¼° SENSOR£¨ÓÃÓÚ¼ì²âºÍ·ÀֹijЩÀàÐ͵ġ°¾Ü¾ø·þÎñ£¨denial-of-service£©¡±ÍøÂç¹¥»÷£©¡£¡¡¡¡¡¡¡¡disable ¡¡¡¡³ý·ÇÄúÏ£Íû½ûÓÃijÏî·þÎñ£¬·ñÔò×ÜÊÇ°ÑËüÉè³É¡°no¡±¡£Red Hat Linux µÄ chkconfig ³ÌÐò½«ÎªÄú´ò¿ª»ò¹Ø±Õ¡°disable¡±²ÎÊý£»ÔÚ Red Hat ÉÏ£¬Óà chkconfig ÆôÓúͽûÓÃÌض¨·þÎñ¿ÉÄܱÈÊÖ¹¤·½Ê½¼òµ¥Ð©¡£Çë×¢Ò⣬chkconfig Ô¤ÆÚÔÚ /etc/xinetd.d/SERVICE ÖÐÕÒµ½·þÎñÎļþ¡£ËùÒÔ¶ÔÓÚÉÏÃæÇåµ¥ 2 ÖеÄʾÀý£¬chkconfig ½«²»»áÔÚÇëÇóʱ´ò¿ª»ò¹Ø±Õ telnet¡£¿ÉÒÔ½«ËüÈÏΪÊÇÒ»¸ö´íÎó»òÌØÐÔ£¬È¡¾öÓÚÄúµÄ¹Ûµã¡£¡¡¡¡¡¡¡¡socket_type ¡¡¡¡Í¨³£ÄúÏ£ÍûÕâ¸ö²ÎÊýÉèÖóɡ°stream¡±£¬³ý·ÇʹÓà UDP ·þÎñ£¬´ËʱÉèÖóɡ°dgram¡±¡£¸Ã²ÎÊýÒ²¿ÉÒÔÉèÖóɡ°raw¡±ºÍ¡°seqpacket¡±£¬µ«¼«ÉÙ¼û¡£¡¡¡¡¡¡¡¡protocol ¡¡¡¡ÕâÊÇÁ¬½ÓËùÓõÄЭÒ飬ͨ³£ÊÇ¡°tcp¡±»ò¡°udp¡±£¬µ«ÊÇÔÚÀíÂÛÉÏÄú¿ÉÒÔʹÓÃÀ´×Ô /etc/protocols µÄÈκÎÖµ¡£¡¡¡¡¡¡¡¡wait ¡¡¡¡Èç¹ûÉèÖóɡ°no¡±£¬xinetd ½«ÎªÃ¿¸öÁ¬½ÓÉϵķþÎñÆô¶¯Ò»¸öеĴ¦Àí³ÌÐò¡£Èç¹ûÊÇ¡°yes¡±£¬xinetd Ô¤Æڸô¦Àí³ÌÐò´¦ÀíËùÓкóÐøÁ¬½ÓÖ±µ½ËüËÀÍö¡£ÔÚ´ó¶àÊýÇé¿öÏ£¬Õâ¸ö²ÎÊýÊÇ¡°no¡±¡£¡¡¡¡¡¡¡¡server, server_args ¡¡¡¡´¦Àí³ÌÐòµÄ³ÌÐòÃû£¬ÒÔ¼°ËüÓ¦µ±»ñµÃµÄ²ÎÊý¡£´¦Àí³ÌÐòÃû²»Ó¦¸ÃÏóÔÚ inetd »·¾³ÏÂÄÇÑù£¬³öÏÖÔÚ²ÎÊýÖС£¡¡¡¡¡¡¡¡port ¡¡¡¡·þÎñµÄ¶Ë¿Ú¡£Í¨³£²»ÐèÒª£¬ÒòΪ¶Ë¿Úͨ¹ý /etc/services ÎļþÀ´Ó³Éäµ½·þÎñ¡£¡¡¡¡¡¡¡¡redirect ¡¡¡¡ÔÊÐí xinetd ½«ËùÓзþÎñµÄÁ÷Á¿·¢Ë͸øÁíһ̨Ö÷»ú¡£Òò´Ë£¬ÊÜ·À»ðǽ±£»¤µÄÖ÷»ú¿ÉÒÔͨ¹ýÖÐÑë xinetd ת·¢Æ÷½ÓÊÜ°²È«Á÷Á¿£¬¶ø²»±Ø½¨Á¢ÓëÍⲿÍøÂçµÄÁ¬½Ó¡£ÔÚijЩ¹¤×÷ÖУ¬¿ÉÒÔ²ÉÓÃÕâ¸öÌØÕ÷À´ÔÚÁ½Ì¨Ö÷»ú¼äÖ´ÐйÊÕÏתÒÆ·þÎñ¡£¡¡¡¡¡¡¡¡banner, banner_success, banner_fail ¡¡¡¡Ò»¸ö½«ÒªÔÚ¡°ÈÎÒâ/Ò»¸ö³É¹¦/Ò»¸ö²»³É¹¦¡±Á¬½ÓÉÏ´òÓ¡µÄÀ´×ÔÎļþµÄ¶¨ÖÆÎı¾¿é¡£¡¡¡¡¡¡¡¡enabled ¡¡¡¡ÔÚÈ«¾Ö¼¶±ðÉϲ¹³ä¡°disabled¡±²ÎÊýºÍ DISABLE ±êÖ¾¡£¡¡¡¡¡¡¡¡include, includedir ¡¡¡¡¸æËß xinetd Òª°üº¬Îļþ»òĿ¼¡£ ¡¡¡¡¡¡¡¡»·¾³²ÎÊý¡¡¡¡user, group, umask, groups ¡¡¡¡µ±Æô¶¯·þÎñ´¦Àí³ÌÐòʱ£¬xinetd Ó¦¸Ã°çÑÝµÄ UNIX ÊôÐÔ¡£ÕâÖ÷ÒªÓÃÓÚ·Ç°²È«·þÎñ¡£¡¡¡¡¡¡¡¡nice ¡¡¡¡È·¶¨¸Ã·þÎñ¶ÔÓÚϵͳÓжàÖØÒªµÄ UNIX ÓÅÏȼ¶¼¶±ð¡£¿ÉÒÔÕë¶ÔÄúµÄϵͳµ÷ÕûËü£¬Çë²é¿´¡°nice¡±µÄ man Ò³Ãæ¡£¡¡¡¡¡¡¡¡env ¡¡¡¡ÓÃÓÚ·þÎñ´¦Àí³ÌÐòµÄ»·¾³±äÁ¿¡£¡¡¡¡¡¡¡¡passenv ¡¡¡¡Ó¦¸ÃÏòÏ´«µÝµ½·þÎñ´¦Àí³ÌÐòµÄ xinetd ÖеĻ·¾³±äÁ¿¡£ ¡¡¡¡¡¡¡¡×ÊÔ´¹ÜÀí²ÎÊý¡¡¡¡instanc
[1] [2] ÏÂÒ»Ò³ 

£¨³ö´¦£ºhttp://www.sheup.com£©


ÉÏÒ»Ò³ [1] [2]