FreeBSD/inetd のバックアップ(No.1)
- バックアップ一覧
- 差分 を表示
- 現在との差分 を表示
- 現在との差分 - Visual を表示
- ソース を表示
- FreeBSD/inetd へ行く。
- 1 (2007-03-16 (金) 03:03:04)
inetd †
FreeBSDに標準で付いているFTP(File Transfer Protocol)サーバ
wuftpdのインストール方法。
個人的にはProFTPの方がセキュリティ的にも、管理のしやすさ的にもこのましい。
inetd.confの編集 †
ftpとtelnetの所の#を外す
> su # vi /etc/inetd.conf -----------inetd.conf-------------------------------------------------- ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l #ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l telnet stream tcp nowait root /usr/libexec/telnetd telnetd #telnet stream tcp6 nowait root /usr/libexec/telnetd telnetd -----------inetd.conf--------------------------------------------------
inetdの再起動 †
設定を変更したので、inetdを再起動させ変更を反映させる。
# ps ax |grep inetd # kill -HUP プロセス番号 又は # kill -HUP `cat /var/run/inetd.pid`
起動の確認 †
Windowsで有れば、ffftpとかTeratermなどで接続確認をする。
talkを使用する場合のinetd.conf †
#ntalk dgram udp wait tty:tty /usr/libexec/ntalkd ntalkd
ここの#を外して
inetdの再起動をする。