NAME

SYNOPSIS

DESCRIPTION

The projmod utility modifies a project's definition on the system. projmod changes the definition of the specified project and makes the appropriate project-related system file and file system changes.

OPTIONS

The following options are supported:

-ccomment

Specify comment as a text string. Generally, comment contains a short description of the project. This information is stored in the project's /etc/project entry.

-Ggroup [,group...]

Specify a replacement list of member groups of the project, or with -a or -r, a list of groups to be added or removed from the project.

-lnew_projectname

Specify the new project name for the project. The new_projectname argument is a string consisting of characters from the set of alphabetic characters, numeric characters,
period (.), underline (_), and hyphen (-). The first character should be alphabetic. A warning message is written if these restrictions are not met.

-o

This option allows the specified project ID to be duplicated (non-unique).

-a

This option specifies that the users or groups specified by the -U or -G flags should be added to the project, rather than replacing the existing member list.

-r

This option specifies that the users or groups specified by the -U or -G flags should be removed from the project, rather than replacing the existing member list.

-pprojid

Specify a new project ID for the project. It must be a non-negative decimal integer less than MAXUID as defined in param.h.

-Uuser [,user...]

Specify a replacement list of member users of the project, or with -a or -r, a list of users to be added or removed from the project.

OPERANDS

The following operands are supported:

project

An existing project name to be modified.

EXIT STATUS

In case of an error, projmod prints an error message and exits with one of the following values:

The following exit values are returned:

0

Successful completion.

2

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

SEE ALSO

NOTES

The projmod utility modifies project definitions only in the local /etc/project file. If a network name service such as NIS or LDAP is being used to supplement the local files with additional entries, projmod cannot change information supplied by the network name service. However projmod verifies the uniqueness of project name and project ID against the external name service.