diff options
Diffstat (limited to 'documentation/manual-pages/ja/man5/services.5')
-rw-r--r-- | documentation/manual-pages/ja/man5/services.5 | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/documentation/manual-pages/ja/man5/services.5 b/documentation/manual-pages/ja/man5/services.5 new file mode 100644 index 0000000000..31464ba49c --- /dev/null +++ b/documentation/manual-pages/ja/man5/services.5 @@ -0,0 +1,88 @@ +.\" Copyright (c) 1983, 1991, 1993 +.\" The Regents of the University of California. All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. All advertising materials mentioning features or use of this software +.\" must display the following acknowledgement: +.\" This product includes software developed by the University of +.\" California, Berkeley and its contributors. +.\" 4. Neither the name of the University nor the names of its contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" @(#)services.5 8.1 (Berkeley) 6/5/93 +.\" %FreeBSD: src/share/man/man5/services.5,v 1.11 2004/07/03 18:29:23 ru Exp % +.\" +.\" $FreeBSD$ +.\" +.Dd June 5, 1993 +.Dt SERVICES 5 +.Os +.Sh 名称 +.Nm services +.Nd サービス名のデータベース +.Sh 解説 +.Nm +ファイルには +インターネットで利用可能な既知のサービスの情報が格納されます。 +各サービス毎に、以下の情報を表す 1 行が存在します。 +.Bd -unfilled -offset indent +公式なサービス名 +ポート番号 +プロトコル名 +別名 +.Ed +.Pp +項目は任意個の空白文字やタブ文字で分けられます。 +ポート番号およびプロトコル名は単一の +.Em 項目 +とみなされ、 +``/'' を 1 つ使用してポートとプロトコルを分けます (例 ``512/tcp'')。 +``#'' はコメント開始を表し、 +行末までの文字はファイルを検索するルーチンに解釈されません。 +.Pp +サービス名は、フィールド区切り文字・改行文字・コメント文字以外の、 +任意の表示可能文字からなります。 +.Sh NIS との相互作用 +NIS の +.Pa services.byname +マップへのアクセスを有効にするには、単一の ``+'' のみからなる行を +.Pa /etc/services +ファイルに追加します。 +こうすると、NIS のサービスマップの内容が ``+'' のある位置に挿入されます。 +.Sh 関連ファイル +.Bl -tag -width /etc/services -compact +.It Pa /etc/services +.Nm +ファイルは +.Pa /etc +にあります。 +.El +.Sh 関連項目 +.Xr getservent 3 +.Sh バグ +静的ファイルの代わりに、ネームサーバを使用すべきです。 +.Sh 歴史 +.Nm +ファイルフォーマットは +.Bx 4.2 +に登場しました。 |