OSDN Git Service

Convert release and draft pages to UTF-8.
[linuxjm/jm.git] / manual / gnumaniak / release / man1 / id.1
1 .\" You may copy, distribute and modify under the terms of the LDP General
2 .\" Public License as specified in the LICENSE file that comes with the
3 .\" gnumaniak distribution
4 .\"
5 .\" The author kindly requests that no comments regarding the "better"
6 .\" suitability or up-to-date notices of any info documentation alternative
7 .\" is added without contacting him first.
8 .\"
9 .\" (C) 1999-2002 Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
10 .\"
11 .\"     GNU id man page
12 .\"     man pages are NOT obsolete!
13 .\"     <ragnar@ragnar-hojland.com>
14 .\"
15 .\" Japanese Version Copyright (c) 2000 NAKANO Takeo all rights reserved.
16 .\" Translated Sun 12 Mar 2000 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
17 .\"
18 .TH id 1 "18 June 2002" "GNU Shell Utilities 2.1"
19 .SH 名前
20 id \- 実 uid, 実効 uid, 実 gid, 実効 gid を表示する。
21 .SH 書式
22 .B id
23 .B [\-gnruG] [\-\-group] [\-\-name] [\-\-real] [\-\-user] [\-\-groups]
24 .BI [ username ]
25 .sp
26 .B id [\-\-help] [\-\-version] 
27 .SH 説明
28 .B id
29 は与えられたユーザーの情報を表示する。
30 ユーザーが与えられなかった場合は、親プロセスの情報を表示する。
31 .P
32 デフォルトでは、
33 .B id
34 は実ユーザー id, 実グループ id,
35 実効ユーザー id (実ユーザー id と違うとき),
36 実効グループ id (実グループ id と違うとき),
37 所属している各グループの id を表示する。
38
39 それぞれの数値の前には識別用の文字列が置かれ、
40 後には対応するユーザー名、グループ名が括弧に括られて追加される。
41 .PP
42 オプションによって、
43 上記の情報のうちの一部だけを
44 .B id
45 に表示させることもできる。
46 .SH オプション
47 .TP
48 .B "\-g, \-\-group"
49 グループ id だけを表示する。
50 .TP
51 .B "\-G, \-\-groups"
52 所属グループだけを表示する。
53 .TP
54 .B "\-n, \-\-name"
55 id 番号の代わりにユーザー名・グループ名を表示する。
56 .BR \-u ,
57 .BR \-g ,
58 .B \-G
59 のいずれかを同時に指定しなければならない。
60 .TP
61 .B "\-r, \-\-real"
62 実効ユーザー id、実効グループ id ではなく、
63 実ユーザー id、実グループ id を表示する。
64 .BR \-u ,
65 .BR \-g ,
66 .B \-G
67 のいずれかを同時に指定しなければならない。
68 .TP
69 .B "\-u, \-\-user"
70 ユーザー id だけを表示する。
71 .TP
72 .B "\-\-help"
73 標準出力に使用方法のメッセージを出力して正常終了する。
74 .TP
75 .B "\-\-version"
76 標準出力にバージョン情報を出力して正常終了する。
77 .SH 注意
78 プログラムのバグについては bug-sh-utils@gnu.org に報告してください。
79 ページの更新は Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com> が行っています。