1502 Remove conversion cruft from manpages
[unleashed.git] / usr / src / man / man1 / projects.1
blob1e26afc1d480e495b7dee7103827ffd9fdb1972e
1 '\" te
2 .\"  Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH PROJECTS 1 "May 13, 2004"
7 .SH NAME
8 projects \- print project membership of user
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fBprojects\fR [\fB-dv\fR] [ \fIuser\fR]
13 .fi
15 .LP
16 .nf
17 \fBprojects\fR \fB-l\fR [\fIprojectname\fR [\fIprojectname\fR]...]
18 .fi
20 .SH DESCRIPTION
21 .sp
22 .LP
23 The \fBprojects\fR command prints on standard output the projects to which the
24 invoking user or an optionally specified user belongs. Each user belongs to
25 some set of projects specified in the \fBproject\fR(4) file and possibly in the
26 associated \fBNIS\fR maps and \fBLDAP\fR databases for project information.
27 .SH OPTIONS
28 .sp
29 .LP
30 The following options are supported:
31 .sp
32 .ne 2
33 .na
34 \fB\fB-d\fR\fR
35 .ad
36 .RS 6n
37 Prints only default project.
38 .RE
40 .sp
41 .ne 2
42 .na
43 \fB\fB-l\fR\fR
44 .ad
45 .RS 6n
46 Prints verbose info on each project projectname. If no projectnames are given,
47 info on all projects is printed.
48 .RE
50 .sp
51 .ne 2
52 .na
53 \fB\fB-v\fR\fR
54 .ad
55 .RS 6n
56 Prints project descriptions along with project names.
57 .RE
59 .SH OPERANDS
60 .sp
61 .LP
62 The following operand is supported:
63 .sp
64 .ne 2
65 .na
66 \fB\fIprojectname\fR\fR
67 .ad
68 .RS 15n
69 Display information for the specified project.
70 .RE
72 .sp
73 .ne 2
74 .na
75 \fB\fIuser\fR\fR
76 .ad
77 .RS 15n
78 Displays project memberships for the specified user.
79 .RE
81 .SH EXAMPLES
82 .LP
83 \fBExample 1 \fRDisplaying Membership for a Specified User
84 .sp
85 .in +2
86 .nf
87 example$ \fBprojects paul\fR
88 default beatles wings
89 example$ \fBprojects ringo\fR
90 default beatles
91 example$ \fBprojects -d paul\fR
92 beatles
93 .fi
94 .in -2
95 .sp
97 .SH EXIT STATUS
98 .sp
99 .LP
100 The following exit values are returned:
102 .ne 2
104 \fB\fB0\fR \fR
106 .RS 6n
107 Successful completion.
111 .ne 2
113 \fB\fB1\fR\fR
115 .RS 6n
116 A fatal error occurred during execution.
120 .ne 2
122 \fB\fB2\fR\fR
124 .RS 6n
125 Invalid command line options were specified.
128 .SH FILES
130 .ne 2
132 \fB\fB/etc/project\fR\fR
134 .RS 16n
135 Local database containing valid project definitions for this machine.
138 .SH ATTRIBUTES
141 See \fBattributes\fR(5) for a description of the following attributes:
146 box;
147 c | c
148 l | l .
149 ATTRIBUTE TYPE  ATTRIBUTE VALUE
150 Stability       See below.
155 The invocation is Evolving. The human-readable output is Unstable.
156 .SH SEE ALSO
159 \fBgetdefaultproj\fR(3PROJECT), \fBgetprojent\fR(3PROJECT), \fBproject\fR(4),
160 \fBattributes\fR(5)