続いて ftp サーバを実行する。
slam:~# apt-get install inetutils-ftpd Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: inetutils-ftpd 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 94.1kB of archives. After this operation, 197kB of additional disk space will be used. Get:1 http://ftp.jp.debian.org lenny/main inetutils-ftpd 2:1.5.dfsg.1-9 [94.1kB] Fetched 94.1kB in 0s (134kB/s) Selecting previously deselected package inetutils-ftpd. (Reading database ... 10078 files and directories currently installed.) Unpacking inetutils-ftpd (from .../inetutils-ftpd_2%3a1.5.dfsg.1-9_armel.deb) ... Processing triggers for man-db ... Setting up inetutils-ftpd (2:1.5.dfsg.1-9) ... slam:~#
slam:~# echo "ftp stream tcp nowait root /usr/sbin/tcpd ftpd" >> / etc/inetd.conf slam:~# tail /etc/inetd.conf # run this only on machines acting as "boot servers." #:RPC: RPC based services #:HAM-RADIO: amateur-radio services #:OTHER: Other services ## netbios-ssn stream tcp nowait root /usr/sbin/tcpd /usr/sbin/smbd ftp stream tcp nowait root /usr/sbin/tcpd ftpd slam:~#
slam:~# kill -HUP `cat /var/run/inetd.pid ` slam:~#
yasunari@giga:~$ ftp sil.yamasita.jp Connected to sil.yamasita.jp (192.168.2.39). 220 sil FTP server (GNU inetutils 1.5) ready. Name (sil.yamasita.jp:yasunari): 331 Password required for yasunari. Password: 230- Linux sil 2.6.16.16-arm1 #6 Fri Aug 31 13:07:15 JST 2007 armv5tejl 230- 230- The programs included with the Debian GNU/Linux system are free software; 230- the exact distribution terms for each program are described in the 230- individual files in /usr/share/doc/*/copyright. 230- 230- Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent 230- permitted by applicable law. 230 User yasunari logged in. Remote system type is UNIX. Using binary mode to transfer files. ftp> exit 221 Goodbye. yasunari@giga:~$OK
|
← いちからやり直し、、、(8)Windows 向けプリンタサーバ |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ いちからやり直し、、、(10)開発環境のインストール |