man pages section 1M: System Administration Commands
  Search only this book
Download this book in PDF (9905 KB)

projdel(1M)

Name | Synopsis | Description | Options | Operands | Exit Status | Files | Attributes | See Also | Diagnostics | Notes

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(4).

    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(5) for descriptions of the following attributes:

    ATTRIBUTE TYPE 

    ATTRIBUTE VALUE 

    Availability 

    SUNWesu 

    Interface stabilty  

    See below. 

    Invocation is evolving. Human readable output is unstable.

See Also

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 such as NIS or LDAP is being used to supplement the local /etc/project file with additional entries, projdel cannot change information supplied by the network name service.

SunOS 5.11  Last Revised 4 May 2004

Name | Synopsis | Description | Options | Operands | Exit Status | Files | Attributes | See Also | Diagnostics | Notes