Safeguard Reference Manual (G06.29+, H06.08+, J06.03+)

Table Of Contents
Group Commands
Safeguard Reference Manual 520618-030
7 - 12
DELETE GROUP Command
Examples
1. The following command changes the description of the group assigned group
number 656:
=ALTER GROUP NUMBER 656 DESCRIPTION All first- and &
=second-shift system administrators
2. The following command changes the description of the group Rel20 and all groups
whose names begin with Test:
=ALTER GROUP NAME (Test*, Rel20) DESCRIPTION Temporary &
=group for system test purposes
3. The following command adds the user PROG4.SUE to group number 120 and
deletes the aliases Joe3 and HotDog from that group:
=ALTER GROUP NUMBER 120 MEMBER PROG4.SUE, &
=MEMBER -(Joe3, HotDog)
4. The following command alters a group with OWNER-LIST which contains only one
local user in the OWNER-LIST:
=ALTER GROUP TEST, NUM 100, OWNER-LIST 81, 1
5. The following command alters a group with OWNER and OWNER-LIST attribute:
=ALTER GROUP TEST, NUM 100, OWNER 40, 5, OWNER-LIST 81, 1;
81, 2
6. The following command alters a group with OWNER-LIST, which contains both
local users and remote users and also includes node-num in the user specification:
=ALTER GROUP TEST, NUM 100, OWNER-LIST 81,1;\*.81,1;\ABC.81,2
7. The following command alters a group so that a user is deleted from the OWNER-
LIST:
=ALTER GROUP TEST, NUM 100, OWNER-LIST - 81, 1
DELETE GROUP Command
The DELETE GROUP command deletes group definition records for specified groups.
You can specify groups by either group name or group number in a DELETE GROUP
command, but you cannot mix names and numbers within the same command. If you
specify group names, they can contain wild-card characters.
A group cannot be deleted if it contains members. You must remove all members from
a group before you can delete that group record.
The owner of a group definition record, the owner’s group manager, and the super ID
can delete that group record.
DELETE GROUP { [ NAME ] name-list | NUMBER num-list }