xref: /illumos-gate/usr/src/man/man8/projdel.8 (revision bbf21555)
te
Copyright (c) 2001, Sun Microsystems, Inc.
All Rights Reserved.
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.
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.
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]
PROJDEL 8 "Jan 7, 2018"
NAME
projdel - delete a project from the system
SYNOPSIS

projdel [-f filename] project
DESCRIPTION

The projdel utility deletes a project from the system and makes the appropriate changes to the system file.

OPTIONS

The following options are supported: -f filename

Specify the project file to modify. If no filename is specified, the system project file, /etc/project, is modified.

OPERANDS

The following operands are supported: project

The name of the project to be deleted.

EXIT STATUS

The following exit values are returned: 0

Successful completion.

2

The command syntax was invalid. A usage message for projdel is displayed.

3

An invalid argument was provided to an option.

4

The projid given with the -p option is already in use.

5

The project files contain an error. See project(5).

6

The project to be modified, group, user, or resource does not exist.

9

The project is already in use.

10

Cannot update the /etc/project file.

FILES
/etc/project

System project file

ATTRIBUTES

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability See below.

Invocation is evolving. Human readable output is unstable.

SEE ALSO

projects (1), project (5), attributes (7), groupadd (8), groupdel (8), groupmod (8), grpck (8), logins (8), projadd (8), projmod (8), useradd (8), userdel (8), usermod (8)

DIAGNOSTICS

In case of an error, projdel prints an error message and exits with a non-zero status.

NOTES

projdel deletes a project definition only on the local system. If a network name service is being used to supplement the local /etc/project file with additional entries, projdel cannot change information supplied by the network name service.