[root@gawa root]# cd /etc [root@gawa etc]# mv proftpd.conf{,.orig} [root@gawa etc]# cp proftpd.conf{.orig,} [root@gawa etc]# vi proftpd.conf : : [root@gawa etc]# diff -c proftpd.conf.orig proftpd.conf *** proftpd.conf.orig 2005-09-18 07:29:20.000000000 +0900 --- proftpd.conf 2006-01-08 18:41:56.000000000 +0900 *************** *** 4,10 **** # "nobody" and "ftp" for normal operation and anon. ServerName "ProFTPD Default Installation" ! ServerType standalone DefaultServer on # Port 21 is the standard FTP port. --- 4,10 ---- # "nobody" and "ftp" for normal operation and anon. ServerName "ProFTPD Default Installation" ! ServerType inetd DefaultServer on # Port 21 is the standard FTP port. [root@gawa etc]#
[root@gawa etc]# mv inetd.conf inetd.conf.orig [root@gawa etc]# cp inetd.conf.orig inetd.conf [root@gawa etc]# vi inetd.conf : : [root@gawa etc]# diff -c inetd.conf.orig inetd.conf *** inetd.conf.orig 2005-12-23 13:39:43.000000000 +0900 --- inetd.conf 2006-01-08 18:44:44.000000000 +0900 *************** *** 31,37 **** # These are standard services. # #ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd -l -a ! #ftp stream tcp nowait root /usr/sbin/tcpd in.proftpd telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd #gopher stream tcp nowait root /usr/sbin/tcpd gn --- 31,37 ---- # These are standard services. # #ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd -l -a ! ftp stream tcp nowait root /usr/sbin/tcpd in.proftpd telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd #gopher stream tcp nowait root /usr/sbin/tcpd gn [root@gawa etc]#
[root@gawa etc]# kill -HUP `cat /var/run/inetd.pid`
[root@gawa etc]# ftp localhost Connected to localhost (127.0.0.1). 220 ProFTPD 1.2.10 Server (ProFTPD Default Installation) [127.0.0.1] Name (localhost:yasunari): 331 Password required for yasunari. Password: 230 User yasunari logged in. Remote system type is UNIX. Using binary mode to transfer files. ftp> bye 221 Goodbye. [root@gawa etc]#
← HS-DGL! + ハックキット 2.0:Device=1 Status=ERROR |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ HS-DGL! + ハックキット 2.0:MyEPG |