以前と同じように インストールする。
sil:~# apt-get install inetutils-ftpd Reading package lists... Done Building dependency tree... 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 91.6kB of archives. After unpacking 193kB of additional disk space will be used. Get:1 http://ftp2.jp.debian.org etch/main inetutils-ftpd 2:1.5.dfsg.1-2 [91.6kB] Fetched 91.6kB in 1s (72.2kB/s) Selecting previously deselected package inetutils-ftpd. (Reading database ... 14328 files and directories currently installed.) Unpacking inetutils-ftpd (from .../inetutils-ftpd_2%3a1.5.dfsg.1-2_arm.deb) ... Setting up inetutils-ftpd (1.5.dfsg.1-2) ... sil:~#
sil:~# echo "ftp stream tcp nowait root /usr/sbin/tcpd ftpd" >> /etc/inetd.conf sil:~#確認する
sil:~# tail /etc/inetd.conf #:RPC: RPC based services #:HAM-RADIO: amateur-radio services #:OTHER: Other services ## netbios-ssn stream tcp nowait root /usr/sbin/tcpd /usr/sbin/smbd rsync stream tcp nowait root /usr/sbin/tcpd /usr/bin/rsync --daemon ftp stream tcp nowait root /usr/sbin/tcpd ftpd sil:~#
sil:~# kill -HUP `cat /var/run/inetd.pid ` sil:~#
sil:~# ftp localhost Connected to localhost. 220 sil FTP server (GNU inetutils 1.5) ready. Name (localhost:yasunari): yasunari 331 Password required for yasunari. Password: 230- Linux sil 2.6.16.16-arm1 #9 Wed Mar 7 14:17:36 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> quit 221 Goodbye. sil:~#OK.
|
← ハック de 録 !!の修正(3)時刻計算 |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ 今日の録画予約 |