1502 Remove conversion cruft from manpages
[unleashed.git] / usr / src / man / man1m / projdel.1m
blobba7674ea9bca1b9fc4221d3ce02a6c0d6b082e2b
1 '\" te
2 .\" Copyright (c) 2001, Sun Microsystems, Inc.
3 .\" All Rights Reserved.
4 .\" 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.
5 .\" 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.
6 .\" 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]
7 .TH PROJDEL 1M "May 4, 2004"
8 .SH NAME
9 projdel \- delete a project from the system
10 .SH SYNOPSIS
11 .LP
12 .nf
13 \fBprojdel\fR [\fB-f\fR \fIfilename\fR] \fIproject\fR
14 .fi
16 .SH DESCRIPTION
17 .sp
18 .LP
19 The \fBprojdel\fR utility deletes a project from the system and makes the
20 appropriate changes to the system file.
21 .SH OPTIONS
22 .sp
23 .LP
24 The following options are supported:
25 .sp
26 .ne 2
27 .na
28 \fB\fB-f\fR \fIfilename\fR\fR
29 .ad
30 .RS 15n
31 Specify the project file to modify. If no \fIfilename\fR is specified, the
32 system project file, \fB/etc/project\fR, is modified.
33 .RE
35 .SH OPERANDS
36 .sp
37 .LP
38 The following operands are supported:
39 .sp
40 .ne 2
41 .na
42 \fB\fIproject\fR\fR
43 .ad
44 .RS 11n
45 The name of the project to be deleted.
46 .RE
48 .SH EXIT STATUS
49 .sp
50 .LP
51 The following exit values are returned:
52 .sp
53 .ne 2
54 .na
55 \fB\fB0\fR\fR
56 .ad
57 .RS 6n
58 Successful completion.
59 .RE
61 .sp
62 .ne 2
63 .na
64 \fB\fB2\fR\fR
65 .ad
66 .RS 6n
67 The command syntax was invalid. A usage message for \fBprojdel\fR is displayed.
68 .RE
70 .sp
71 .ne 2
72 .na
73 \fB\fB3\fR\fR
74 .ad
75 .RS 6n
76 An invalid argument was provided to an option.
77 .RE
79 .sp
80 .ne 2
81 .na
82 \fB\fB4\fR\fR
83 .ad
84 .RS 6n
85 The \fIprojid\fR given with the \fB-p\fR option is already in use.
86 .RE
88 .sp
89 .ne 2
90 .na
91 \fB\fB5\fR\fR
92 .ad
93 .RS 6n
94 The project files contain an error. See \fBproject\fR(4).
95 .RE
97 .sp
98 .ne 2
99 .na
100 \fB\fB6\fR\fR
102 .RS 6n
103 The project to be modified, group, user, or resource does not exist.
107 .ne 2
109 \fB\fB9\fR\fR
111 .RS 6n
112 The project is already in use.
116 .ne 2
118 \fB\fB10\fR\fR
120 .RS 6n
121 Cannot update the \fB/etc/project\fR file.
124 .SH FILES
126 .ne 2
128 \fB\fB/etc/project\fR\fR
130 .RS 16n
131 System project file
135 .ne 2
137 \fB\fB\fR\fR
139 .RS 16n
143 .SH ATTRIBUTES
146 See \fBattributes\fR(5) for descriptions of the following attributes:
151 box;
152 c | c
153 l | l .
154 ATTRIBUTE TYPE  ATTRIBUTE VALUE
156 Interface stabilty      See below.
161 Invocation is evolving. Human readable output is unstable.
162 .SH SEE ALSO
165 \fBprojects\fR(1), \fBgroupadd\fR(1M), \fBgroupdel\fR(1M), \fBgroupmod\fR(1M),
166 \fBgrpck\fR(1M), \fBlogins\fR(1M), \fBprojadd\fR(1M), \fBprojmod\fR(1M),
167 \fBuseradd\fR(1M), \fBuserdel\fR(1M), \fBusermod\fR(1M), \fBproject\fR(4),
168 \fBattributes\fR(5)
169 .SH DIAGNOSTICS
172 In case of an error, \fBprojdel\fR prints an error message and exits with a
173 non-zero status.
174 .SH NOTES
177 \fBprojdel\fR deletes a project definition only on the local system. If a
178 network name service such as \fBNIS\fR or \fBLDAP\fR is being used to
179 supplement the local \fB/etc/project\fR file with additional entries,
180 \fBprojdel\fR cannot change information supplied by the network name service.