linux vsftp ¸ü¸ÄÉÏΰĿ¼
linux vsftpd Äܲ»Äܸü¸ÄĬÈϵÄFTPÉÏ´«Ä¿Â¼?
ʹÓÃftpµÇ¼£¬»áµÇ¼µ½/home/ftp Õâ¸öĿ¼£¬ÎÒÏë¸ü¸Äµ½ÆäËûµÄĿ¼£¬ÔõôÅäÖÃÄØ
Çë¸ßÊִͽÌß¹£¬¼±¼±¼±£¡
ÓÐЩftp¹¤¾ß¿ÉÒÔÖ±½Ó×Ô¼ºÐ´Ä¿Â¼µÄ°É£¬Õâ¸öĿ¼Ӧ¸Ã¾ÍÊÇÄãµÄĬÈÏĿ¼ÁË
ÔÚ/etc/vsftpdÓÐÅäÖÃÎļþ£¬ÐÞ¸ÄÒ»ÏÂĿ¼£¬È»ºóÖØÆôftp·þÎñ
ÅäÖÃÎļþÖУ¬ÓÐÕâ¸ö²ÎÊý£ºanon_root
anon_root=/windows/ftp
ÎÒµÄftpµÄĬÈÏ·¾¶ÊÇ/windows/ftpÕâ¸öÎļþ¼Ð¡£
vsftpµÄ·¾¶ÊÇftpÕâ¸öÓû§µÄhomeĿ¼¡£
Ò²¾ÍÊÇ˵ÄãÐèÒª¸Ä/etc/passwdÀïµÄftpÓû§µÄhome·¾¶¡£
ÊÔÊÔ¿´°É¡£
ÐÞ¸Ä/etc/vsftp.confÎļþ,ÆäÖÐÓÐÒ»¸öÖ¸¶¨Ä¿Â¼µÄ²ÎÊý.
Ïà¹ØÎÊ´ð£º
ÔÚlinuxÉÏʹÓÃtomcat·þÎñÆ÷³öÏÖÁ˺ܶàclose_wait
ʹÓÃä¯ÀÀÆ÷·ÃÎʵÄʱºò³öÏÖÒ³ÃæÒ»Ö±ÔÚÇëÇ󣬺ÜÂý £¬»ù±¾ÉÏûÓлØÓ¦¡£
ÓÃnetstat -anp ²é¿´ Óкܶàclose_wait
Õâ¸öÊÇʲôÒýÆðµÄ°¢ £¬Ôõô½â¾ö£¿
......
ÒòΪ°²×°cvsÒªÓõ½xinetd·þÎñ£¬·¢ÏÖ»úÆ÷ÉÏûÓС£¡£¾Í´ÓÍøÉÏÏÂÔØÁ˸ö×°ÉÏ£¬
SQL code:
[root@localhost ~]# rpm -qa xinetd
[root@localhost ~]# rpm -qa telnet
telnet-0.17-38.el5
[root@localhost ~]#
¸ ......
ÓÐÈËÈÏΪ£¬linux °²È«ÐԸߣ¬Ö»ÊÇÒòΪÓõÄÈËÉÙ£¬ËùÒÔÄÇЩºÚ¿Í²»Ô¸ÒâÈ¥¹¥»÷£¬ËùÒÔ²¡¶¾Ö®ÀàµÄ¾ÍÉÙ£¬ÊDz»ÊÇÕâÑù£¿¶øÇÒlinuxÊÇ¿ªÔ´µÄ£¬¹¥»÷ÆðÀ´ ±È½ÏÈÝÒ×ËùÒÔ ÀÁµÄÈ¥¹¥»÷
ÕâÖÖ˵·¨¶Ôô
linux Ôõô¾Í°²È«¸ß ......
ÎÒÄ¿Ç°ÔÚ±¾µØµÄlinuxÉÏдÁËÒ»¸öswingµÄ½çÃ棬Ïëͨ¹ýÕâ¸ö½çÃæÀ´¿ØÖÆÆäËüµçÄÔµÄlinuxÖØÆô¡£
ÎÒÖªµÀÓÃRuntime.getRuntime().exec("shutdown -r");¿ÉÒÔ¿ØÖƱ¾»úLinuxÖØÆô£¬µ«ÊÇÔõô¿ØÖÆÔ¶³ÌµÄlinuxÖØÆôÄØ£¿ ......
ʹÓÃPHPµÄexecº¯Êýµ÷ÓÃlinuxµÄshellÃüÁÈçdateÈ¥ÐÞ¸Äʱ¼ä»òshutdownȥʵÏֹػú/ÖØÆô£¬µ«ÊÇ·µ»ØÖµ¶¼ÊÇʧ°ÜµÄ¡£¾¹ý¶à´ÎÊÔÑ飬È϶¨ÊÇûÓÐȨÏÞµÄÎÊÌâ¡£
ËùÒÔ£¬Ð¡µÜÔÚ´ËÇë½Ì¸÷룬ÈçºÎ²ÅÄÜÉèÖÃȨÏÞ£¬µ÷ÓÃlinux shellà ......