Previous Topic: rmfile Command—Delete File Records

Next Topic: rmres Command—Delete a Resource

rm[x]grp Command—Delete Group Records

Valid in the AC environment

The rmgrp and rmxgrp commands remove one or more groups from CA Access Control and, optionally, from the native environment.

Note: There may be occurrences in the database of the group's group ID that the rmgrp command does not delete. For example, the group could be the owner of another group, the owner of other records, or in an access control list for a resource. Use the chgrp, chusr, chres, and authorize commands, as required, to manually change ownership and remove access authorities relating to the group record you want to delete. Alternatively, use the sepurgedb utility to clean up inconsistencies in the database automatically.

Note: The rmgrp command also exists in the native environment but operates differently there.

To use the rmgrp command, at least one of the following is required:

This command has the following format:

{rmgrp|rg | rmxgrp|rxg} { groupName | (groupName [,groupName...]) } [unix|nt]
groupName

Specifies the CA Access Control group to be deleted.

nt

(Optional) Deletes a group from the local Windows database in addition to deleting the group from the CA Access Control database.

unix

(Optional) Deletes a group from the local UNIX system in addition to deleting the group from the CA Access Control database.

Example

The user Joe wants to delete the groups DEPT1 and DEPT2 from the database.

More information:

ch[x]grp Command—Change Group Properties

join[x] Command—Add Users to Internal Groups

join[x]- Command—Remove Users from Groups

show[x]grp Command—Display Group Properties

rmgrp Command—Delete UNIX Groups

rmgrp Command—Delete Windows Groups