332b359851
Submitted by: Norihiro Kumagai <kuma@nk.rim.or.jp> Reviewed by: Watanabe Kazuhiro <CQG00620@nifty.ne.jp>, kano@na.rim.or.jp
152 lines
4.2 KiB
Groff
152 lines
4.2 KiB
Groff
.\" Copyright (c) 1991, 1993
|
||
.\" The Regents of the University of California. All rights reserved.
|
||
.\"
|
||
.\" This code is derived from software contributed to Berkeley by
|
||
.\" the Institute of Electrical and Electronics Engineers, Inc.
|
||
.\"
|
||
.\" 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.
|
||
.\"
|
||
.\" @(#)id.1 8.1 (Berkeley) 6/6/93
|
||
.\" %FreeBSD: src/usr.bin/id/id.1,v 1.13 2004/05/18 20:36:54 ru Exp %
|
||
.\"
|
||
.\" $FreeBSD$
|
||
.\"
|
||
.Dd May 3, 2004
|
||
.Dt ID 1
|
||
.Os
|
||
.Sh ̾<EFBFBD><EFBFBD>
|
||
.Nm id
|
||
.Nd <EFBFBD>桼<EFBFBD><EFBFBD><EFBFBD>Ρ<EFBFBD><EFBFBD>桼<EFBFBD><EFBFBD>̾<EFBFBD>ȥ<EFBFBD><EFBFBD>롼<EFBFBD><EFBFBD>̾<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӳ<EFBFBD><EFBFBD>ֹ<EFBFBD><EFBFBD><EFBFBD>ɽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Nm
|
||
.Op Ar user
|
||
.Nm
|
||
.Fl G Op Fl n
|
||
.Op Ar user
|
||
.Nm
|
||
.Fl M
|
||
.Nm
|
||
.Fl P
|
||
.Op Ar user
|
||
.Nm
|
||
.Fl g Op Fl nr
|
||
.Op Ar user
|
||
.Nm
|
||
.Fl p
|
||
.Op Ar user
|
||
.Nm
|
||
.Fl u Op Fl nr
|
||
.Op Ar user
|
||
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Nm
|
||
<EFBFBD>桼<EFBFBD>ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƥ<EFBFBD><EFBFBD>ϡ<EFBFBD>
|
||
<EFBFBD>Ƥӽ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