jdk/src/linux/doc/man/ja/kinit.1
author jjg
Mon, 06 Oct 2008 16:57:15 -0700
changeset 1365 ced0e3c4678f
parent 2 90ce3da70b43
child 5506 202f599c92aa
permissions -rw-r--r--
6748546: javadoc API should be classloader-friendly Reviewed-by: bpatel
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
'\" t
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
.\" Copyright 2002-2004 Sun Microsystems, Inc.  All Rights Reserved.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
.\" This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
.\" under the terms of the GNU General Public License version 2 only, as
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
.\" published by the Free Software Foundation.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
.\" This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
.\" FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
.\" version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
.\" accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
.\" You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
.\" 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
.\" Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
.\" CA 95054 USA or visit www.sun.com if you need additional information or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
.\" have any questions.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
.\" 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
.TH kinit 1 "2004 年 6 月 22 日"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
.SH "名前"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
kinit \- kinit は Kerberos チケット許可チケットを取得およびキャッシュ
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
するときに使用します。このツールはほかの一般的な Kerberos 実装 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
(SEAM や MIT のリファレンス実装など) の kinit ツールと機能的に似ています。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
kinit を使用するためには、kinit を実行する前に Key Distribution Center 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
(KDC) を使用してプリンシパルとして登録する必要があります。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
.SH "形式"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
.B kinit
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
[
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
.IR commands " ]" 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
<principal name>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
.SH "機能説明"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
デフォルトでは、UNIX プラットフォームの場合、/tmp/krb5cc_<uid> という
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
名前のキャッシュファイルが生成されます。<uid> は、システムにログイン
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
したユーザのユーザ識別番号です。その他のプラットフォームの場合、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
<USER_HOME>/krb5cc_<USER_NAME> という名前のキャッシュファイル
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
が生成されます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
<USER_HOME> は 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
.BR java.lang.System 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
プロパティの 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
.BR user.home
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
から取得されます。<USER_NAME> は 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
.BR java.lang.System 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
プロパティの 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
.BR user.name
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
から取得されます。<USER_HOME> が null である場合、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
キャッシュファイルはプログラムを実行した現在のディレクトリに格納され
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
ます。<USER_NAME> はオペレーティングシステムのログインユーザ名
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
です。このユーザ名はユーザのプリンシパル名とは異なる場合があります。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
たとえば Solaris では、<USER_NAME> が duke であり、<USER_HOME> 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
が /home/duke である場合、ユーザのプリンシパル名は /home/duke/krb5cc_duke 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
になります。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
デフォルトでは、キータブ名は Kerberos 構成ファイルから取得されます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
キータブ名が Kerberos 構成ファイルに指定されていない場合、キータブ名は <USER_HOME>/krb5.keytab になります。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
コマンド行の password オプションでパスワードを指定しない場合、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
kinit はパスワードの入力を求めます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
.B 注:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
コマンド行の password オプションはテストの目的だけに提供されます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
パスワードをスクリプト内に指定したり、コマンド行に指定したりしないで
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
ください。そうすることによって、パスワードが漏れる可能性があります。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
詳細については、kinit 関連のマニュアルページを参照してください。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
.SH "コマンド"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
.B kinit \-fp
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
[
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
\-c <cache_name> ]
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
[
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
\-k ]
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
[
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
\-t <keytab_filename> ]
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
[
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
<principal> ]
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
[
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
<password> ]
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
[
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
\-help ]
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
.TP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
.BI \-f
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
転送可能なチケットを発行します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
.TP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
.BI \-p
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
プロキシ可能なチケットを発行します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
.TP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
.BI \-c 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
<cache_name>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
キャッシュ名 (たとえば、FILE:/temp/mykrb5cc)。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
.TP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
.BI \-k
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
キータブを使用します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
.TP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
.BI \-t 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
<keytab_filename>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
キータブ名 (たとえば、/home/duke/krb5.keytab)。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
.TP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
.BI <principal>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
プリンシパル名 (たとえば、duke@java.sun.com)。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
.TP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
.BI <password>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
プリンシパルの Kerberos パスワード (コマンド行やスクリプトにパスワード
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
を指定しないでください)。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
.TP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
.BI \-help
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
ヘルプを表示します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
.SH "使用例"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
認証に有効な資格を現在のクライアントホストから要求して、
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
デフォルトサービスのために資格のキャッシュをデフォルトの場所 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
(/home/duke/krb5cc_duke) に格納します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
.ft 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
kinit duke@JAVA.SUN.COM
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
.ft 1
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
異なるプリンシパルのためにプロキシ可能な資格を要求して、これらの資格を
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
指定したファイルキャッシュに格納します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
.ft 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
kinit \-p \-c FILE:/home/duke/credentials/krb5cc_cafebeef cafebeef@JAVA.SUN.COM
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
.ft 1
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
異なるプリンシパルのためにプロキシ可能で転送可能な資格を要求して、
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
これらの資格を指定したファイルキャッシュに格納します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
.ft 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
kinit \-f \-p \-c
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
FILE:/home/duke/credentials/krb5cc_cafebeef cafebeef@JAVA.SUN.COM
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
.ft 1
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
kinit のヘルプメニューを表示します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
.ft 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
kinit \-help
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
.ft 1
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
.SH "セキュリティに関する警告"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
コマンド行の 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
.BR password
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
オプションはテストの目的だけに提供されます。パスワードをコマンド行に指定しないでください。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
これはセキュリティホールになります。たとえば、UNIX の 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
.BR ps
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
コマンドの実行中に、攻撃者はパスワードを検出することができてしまいます。