XYGATE User Authentication Reference Manual
XYGATE
®
User Authentication
™
Reference Manual
Appendix C: XUA Macros
XYPRO Technology Corporation 297 Proprietary and Confidential
C7: XUA_EDIT_ACL
The XUA_EDIT_ACL macro automates the recommended method of changing the
UAACL file.
First, the macro makes a duplicate of the current UAACL file and names it
NEWUAACL. Then it presents the duplicate, NEWUAACL, for editing.
After all the editing changes are done, the NEWUAACL is checked for syntax errors.
If no errors are found, XUA_EDIT_ACL asks if you want to install the new ACL.
If you enter Y, the NEWUAACL is renamed to UAACL. Prior to renaming the
NEWUAACL file, the old UAACL is renamed to OLDACLnnn, where nnn is an
incrementing three-digit number. Twenty iterations of the OLDACLnnn files are
retained in the XUA subvolume.
If you enter N, XUA_EDIT_ACL asks if you want to purge the NEWUAACL file. You
can enter Y to purge the file or N to keep it to edit later.
If a NEWUAACL file already exists when you call XUA_EDIT_ACL, it begins by asking
if you want to re-edit it. If you do not want to re-edit it, your only remaining choice is to
purge it or keep if for later.
Example - Typical usage
This example shows the typical usage of the XUA_EDIT_ACL macro assuming that no
errors are encountered.
Example 1:
$SYSTEM.XYGATEUA 5> XUA_EDIT_ACL
This file edits the current XYGATE-SECURITY-WIZARD
list. It will create a file named $SYSTEM.XYGATEUA.NEWUAACL from
the current $SYSTEM.XYGATEUA.UAACL file.
These are your old $SYSTEM.XYGATEUA.UAACL files:
$SYSTEM.XYGATEUA
CODE EOF LAST MODIFIED OWNER RWEP PExt SExt
OLDACL00 101 3078 17AUG2012 3:03 222,233 NUUU 2 2
OLDACL01 101 3316 17AUG2012 3:57 222,233 NUUU 2 2
FILES DUPLICATED: 1
TEXT EDITOR - T9601H01 - (01MAY05)
CURRENT FILE IS $SYSTEM.XYGATEUA.NEWUAACL
*
Make changes here using EDIT.
*e
Checking for SYNTAX errors in the NEWUAACL