Safeguard Reference Manual (G06.24+, H06.03+ )

User Security Commands
Safeguard Reference Manual520618-013
5-22
DELETE USER Command
2. The primary owner of the user authentication record for ACCTG.HARRY sets up
Safeguard auditing for successful and failed authentication attempts (both local
and remote) made under Harry’s user name:
=ALTER USER acctg.harry, AUDIT-AUTHENTICATE-PASS all,&
=AUDIT-AUTHENTICATE-FAIL all
3. The primary owner of the user authentication record for PRS.BENNY alters the
record so that the command interpreter EDITF starts automatically after the user
logs on at a Safeguard terminal. The object program file for EDITF is
$SALES.PROG2.EDITF:
=ALTER USER prs.benny, CI-PROG $sales.prog2.editf
4. The super ID alters the record of every user who belongs to the group AUDIT and
has a primary group number of 254 or 255. The AUDIT-USER-ACTION-FAIL
attribute is set to ALL for each of these users:
=ALTER USER *.*, AUDIT-USER-ACT-FAIL all, &
=WHERE GROUP=AUDIT AND (PRIMARY-GROUP NUMBER=254 &
=OR PRIMARY-GROUP NUMBER=255)
5. The group manager of group 12 alters the user authentication record of each user
in group 12 who belongs to the group AUDIT3 or who belongs to group AUDIT4
and has a primary group number of 54. Each user in group 12 who meets this
criteria is given a password expiration date of July 15, 2005.
=ALTER USER 12,*, PASSWORD-EXPIRES jul 15 2005, &
=WHERE GROUP=AUDIT3 OR &
=(GROUP=AUDIT4 AND PRIMARY-GROUP NUMBER=54)
DELETE USER Command
DELETE USER removes a user from a system and deletes the user’s authentication
record. After a user is deleted, the user cannot log on to the system.
The primary owner and secondary owners of a user’s authentication record, the
primary owner’s group manager, and the super ID can delete a user.
USER
specifies USER as the object type of the DELETE command. Omit it if USER is the
assumed object type. (For more information about assumed types, see the
ASSUME Command on page 4-3.)
DELETE USER { user-spec | ( user-spec [ , user-spec ] ... ) }
[ [,] WHERE expression ]