[i=s] ±¾Ìû×îºóÓÉ ê»ê»µ´µ´ ÓÚ 2010-9-24 23:26 ±à¼ [/i]
fedora 13ʵÌå»ú£¬¿ªÆôvsftpd·þÎñ¡£ÎÒÏëÈÃvsftpdËæϵͳÆô¶¯£¬vi /etc/rc.d/rc.local £¬Ïë¼ÓÈëvsftpd startÖ¸Áî¡£
½á¹û·¢ÏÖ£¬/etc/init.d/ºÍ/etc/rc.d/init.d϶¼Óиövsftpd¡£µ½µ×¸ÃÊäÈëÄÄÒ»¸öÖ¸ÁîÄØ£¿²âÊÔÁËһϣ¬ºÃÏñÊäÈë/etc/init.d/vsftpd startºÍ/etc/rc.d/init.d/vsftpd start¶¼ÄÜÔÚ¿ª»úµÄʱºò˳ÀûµÄÆô¶¯ftp·þÎñÆ÷¡£
ÎÒÏëÇë½ÌµÄÊÇ£¬ÕâÁ½¸öÎļþ²»Í¬Â·¾¶£¬ÓÐʲôÇø±ðûÓУ¿
ÁíÒ»¸öÎÊÌâÊÇ£¬ÎªÊ²Ã´Ö´ÐÐ find / -type f -name vsftpd -exec ls -l {} +;ÕÒ²»µ½/etc/init.d/vsftpdÎļþ£¿
[attach]32223[/attach]
ÉÏͼÖУ¬Èý¸öºìɫϸÏß¿òÖеÄÈý¸övsftpdÎļþÓÐʲô²»Í¬Âð£¿
ÕâÈý¸öÎļþµÄ´óСÓÖÊÇÔõô»ØÊ£¿
/etc/init.d/vsftpd ºÍ/etc/rc.d/init.d/vsftpdÁ½¸öÎļþ´óСÊÇÏàͬµÄ¡£
/usr/sbin/vaftpdÎļþÉÔ´ó¡£
²¹³ä£ºvsftpd·þÎñÆô¶¯ºó£¬Ö´ÐÐps -aux | grep vsftpd ·¢ÏÖϵͳÔËÐеÄvsftpd³ÌÐòÕýÊÇ/usr/sbin/vsftpd
ÕâÈý¸ö¿ÉÖ´ÐÐvsftpdµ½µ×ÊÇʲô¹Øϵ£¬ÎÒ±»¸ãºýÍ¿ÁË
[attach]32224[/attach]
wozdaixxma ÓÚ 2010-10-13 21:07:36·¢±í:
Â¥Ö÷ȷʵºÃѧ
Ä̲èdsk ÓÚ 2010-09-26 14:18:32·¢±í:
5# ê»ê»µ´µ´
{:3_110:} ÎÒ˵µÄÊÇÕâ¸öĿ¼ÊÇ·ûºÅÁ´½ÓŶ£¬/etc/init.d
ê»ê»µ´µ´ ÓÚ 2010-09-25 17:36:46·¢±í:
[i=s] ±¾Ìû×îºóÓÉ ê»ê»µ´µ´ ÓÚ 2010-9-25 17:43 ±à¼ [/i]
лл£¬ÓÖ³¤¼ûʶÁË£¡
ê»ê»µ´µ´ ÓÚ 2010-09-25 17:36:14·¢±í:
[i=s] ±¾Ìû×îºóÓÉ ê»ê»µ´µ´ ÓÚ 2010-9-25 18:17 ±à¼ [/i]
ллÄúÄÍÐÄϸÖµĽâ´ð£¡
ÈíÁ´½ÓµÄ»°£¬Ö´ÐÐls -lµÄʱºòÓ¦¸ÃÄÜ·´Ó³³öÀ´°¡£¨µÚÒ»ÁÐÓиöl£©£¿ÎªÊ²Ã´¿´²»µ½ÄØ£¿
[root@fedora13 ~]# rm -rf /home/wuhaoshu/down/vsftpd-2.3.2
[root@fedora13 ~]# find / -type f -name vsftpd -exec ls -al {} +;
-rw-r--r-- 1 root root 95 May 17 16:17 /etc/logrotate.d/vsftpd
-rw-r--r-- 1 root root 335 May 17 16:17 /etc/pam.d/vsftpd
-rwxr-xr-x 1 root root 2824 May 17 16:17 /etc/rc.d/init.d/vsftpd
-rw-r--r-- 1 root root 575 Sep 21 18:09 /etc/xinetd.d/vsftpd
-rwxr-xr-x. 1 root root 106068 Sep 13 11:18 /usr/local/sbin/vsftpd
-rwxr-xr-x 1 root root 172152 May 17 16:17 /usr/sbin/vsftpd
*******************************************************************
[root@fedora13 ~]# ls -al /etc/init.d/vsftpd
-rwxr-xr-x 1 root root 2824 May 17 16:17 /etc/init.d/vsftpd Èç¹ûÕâÊǸöÁ´½ÓÎļþµÄ»°£¬µÚÒ»ÁеÄ-Ó¦¸ÃÊǸöl
**************************************************************************************
Èç/etc/rc.local ÊÇ/etc/rc.d/rc.localµÄÁ´½ÓÎļþ£¬¶ÔÕâÁ½¸öÎļþ·Ö±ðfileµÄʱºò£¬»á·¢ÏÖÓв»Ò»ÑùµÄÌáʾ£º
[root@fedora13 ~]# file /etc/rc.local
[color=Red]/etc/rc.local: symbolic link to `rc.d/rc.local'
[root@fedora13 ~]# file /etc/rc.d/rc.local
/etc/rc.d/rc.local: POSIX shell script text executable[/color]
¶ø /etc/init.d/vsftpd ºÍ/etc/rc.d/init.d/vsftpdÁ½¸öÎļþfile³öÀ´µÄûÓÐsymbolic linkÕâÑùµÄÌáʾÐÅÏ¢³öÏÖ£¡
[root@fedora13 ~]# file /etc/init.d/vsftpd
/etc/init.d/vsftpd: Bourne-Again shell script text executable
[root@fedora13 ~]# file /etc/rc.d/init.d/vsftpd
/etc/rc.d/init.d/vsftpd: Bourne-Again shell script text executable
*********************************************************************************
/usr/sbin/vsftpd ºÍ/usr/local/sbin/vsftpd µÄÇø±ðÊÇʲôÄØ£¿¶ÔÕâÁ½¸öÎļþÖ´ÐÐfileµÄʱºò£¬ÏÔʾµÄÐÅÏ¢¶¼ÊÇÒ»ÑùµÄ¡£
[root@fedora13 ~]# file /usr/sbin/vsftpd
/usr/sbin/vsftpd: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
[root@fedora13 ~]# file /usr/local/sbin/vsftpd
/usr/local/sbin/vsftpd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
[root@fedora13 ~]#
[/size]
LinuxÕæµÄºÜ²»´í£¬ÎÒºÜϲ»¶£¬µ«ÒòΪÊDzËÄñ£¬ºÜ¶àÎÊÌⶼ²»¶®£¬»¹Çë´ó¼Ò¶à¶à°ïÖúÎÒ£¡Ð»Ð»£¡
alick ÓÚ 2010-09-25 15:45:46·¢±í:
¾³£ÓÃfindµÄÈËÓ¦¸ÃÀμǣ¬ÊÂʵÉÏgnuµÄfind¿ÉÒÔͨ¹ýÑ¡Ïî¿ØÖÆÊÇ·ñ¸úËæÈíÁ´½Ó£¨¼´·ûºÅÁ´½Ó£©¡£ÔçÆÚunixµÄfindÊÇ
²»»á¸úËæµÄ£¬ÄÇÑù¿ÉÄܳöÏÖËÀÑ»·£¨Â¥Ö÷¿ÉÒÔ˼¿¼Ò»Ï£©
Ä̲èdsk ÓÚ 2010-09-25 11:59:29·¢±í:
[i=s] ±¾Ìû×îºóÓÉ Ä̲èdsk ÓÚ 2010-9-25 12:34 ±à¼ [/i]
{:3_118:} Â¥Ö÷ºÜºÃѧѽ£¬
/etc/init.dÓ¦¸ÃÖ»ÊÇ1¸öÈíÁ´½Ó£¬Ö¸ÏòµÄÊÇ/etc/rc.d/init.dĿ¼£¬
¿ÉÒÔÓÃ[code]ls -ld /etc/init.d/[/code]Ñé֤ϣ¬
ËùÒÔÂ¥Ö÷¿´µ½µÄÕâÁ½¸öĿ¼µÄÎļþÊÇÏàͬµÄ£¬
ÁíÍâ/etc/rc.d/init.dĿ¼ÖеÄÓ¦¸Ã¶¼ÊǹÜÀídaemon½ø³ÌµÄ½Å±¾Îļþ£¬
¿ÉÒÔÓÃ[code]file /etc/rc.d/init.d/vsftpd[/code]»òÕß[code]less /etc/rc.d/init.d/vsftpd[/code]Ñé֤ϣ¬ÏµÍ³Í¨¹ýÕâ¸ö½Å±¾ÅäÖÃvsftpd½ø³ÌÊÇ·ñ¿ª»úÆô¶¯Ö®ÀàµÄ£¬£¬
ÕæÕýµÄ¿ÉÖ´ÐгÌÐòÓ¦¸ÃÊÇÔÚ/usr/sbin/Ŀ¼ÏµÄvsftpd£¬
findÕÒ²»µ½/etc/init.dĿ¼ÏµÄÎļþ£¬¿ÉÄܾÍÊÇfindĬÈϲ»½øÈë·ûºÅÁ´½Ó°É£¬£¬
yippee ÓÚ 2010-09-25 11:38:58·¢±í:
ÆäÖÐÒ»¸ö±ØÊÇÈíÁ¬½Ó¡«¡«
ʹÓÃls -alÃüÁî·Ö±ð²é¿´Á½¸övsftpd¾ÍÃ÷°×ÁË