This section introduces you to the commands needed to manage users. aXes considers that there are two kinds of user — terminal users and web users.

Terminal users are normal IBM i users, that is, users with a user profile (*USRPRF) object who have the capability to sign on to IBM i. Terminal users are managed using the normal IBM i user profile commands (CRTUSRPRF, CHGUSRPRF, DLTUSRPRF, and WRKUSRPRF).

A web user is created by adding the user name and associated password to an Access Control List (ACL).

User Commands

Control Language (CL) commands are provided on the aXes Administration Menu (GO AXESADM) to assist in managing and administering users.

The following user commands are available.

Add aXes User ADDAXESUSR The Add aXes User command allows you to add a user to an aXes access control list.
Change aXes User CHGAXESUSR The Change aXes User command allows you to change a user in an aXes access control list object.
Remove aXes User RMVAXESUSR The Remove aXes User command allows you to remove a user from an aXes access control list object.
Work with aXes Users WRKAXESUSR The Work with aXes Users command allows you to display and work with a list of users defined in an aXes access control list. You can add, change, and remove users.

See the command syntax diagrams section in the aXes Reference for information on making the aXes commands and menus available to your job.

To use these commands, you must have *SECADM special authority.

Adding Users to an aXes Access Control List

You can add a user to an ACL using the ADDAXESUSR (Add aXes User) command. For example:

ADDAXESUSR USER(hayashi) PASSWORD(d6wi89g) DIR(‘/company/sales/forecasts’)

This command will allow Hayashi-san to access files in the specified directory.

Changing User Passwords

You can change a user’s password in an ACL using the CHGAXESUSR (Change aXes User) command. For example:

CHGAXESUSR USER(hayashi) PASSWORD(xyz876) DIR(‘/company/sales/forecasts’)

This command will change the password used by Hayashi–san to access files in the specified directory.

Removing Users from an aXes Access Control List

You can remove a user from an ACL using the RMVAXESUSR (Remove aXes User) command. For example:

RMVAXESUSR USER(hayashi) DIR(‘/company/sales/forecasts’)

This command will remove Hayashi-san from the ACL and therefore cause the web server to deny her access to any files in the specified directory.

Working with aXes Users

The WRKAXESUSR command displays a list of defined web server users.

This command also allows you to add, change, and remove users.

Administrators

Legal Mentions

aXes is brought to you by:

LANSA

Serving the IBM i community for 30 years.