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

Table Of Contents
User Security Commands
Safeguard Reference Manual 520618-030
5 - 22
DELETE USER Command
record to the user who has user ID 86,2 and to require that Darlene change her
logon password every 35 days:
=ALTER USER prs.darlene, OWNER admin.sue, &
=PASSWORD-MUST-CHANGE EVERY 35 DAYS
Because the OWNER attribute for PRS.DARLENE was changed to a member of
another group, PRS.MANAGER can no longer manage this authentication record.
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.
DELETE USER { user-spec | ( user-spec [ , user-spec ] ... ) }
[ [,] WHERE expression ]