artexlist Command
Purpose
Outputs a list of profiles from the local system or LDAP server or outputs a list of catalogs that are installed on the local system.
Syntax
artexlist [-c | [-l] path][-q] [-g categories ] [-g level ]
Description
The command artexlist finds and lists the AIX® Runtime Expert profiles on the local system or on LDAP server.
If the -c option is specified, the output returns a list of catalogs that are installed on the local system rather than a list of profiles.
By default,
this command outputs a list of the profiles from /etc/security/artex/samples
directory.
To override the default path, set the environment variable ARTEX_PROFILE_PATH
to one or more semicolon delimited paths. Otherwise, use the path argument.
In addition to the local system profiles, use the –l option
to list the profiles from the LDAP server.
Flags
Item | Description |
---|---|
-c | Indicates to list the catalogs installed on the local system
in /etc/security/artex/catalogs directory. |
-l | Indicates to list the profiles from the LDAP server. |
-g categories | Displays debug messages for the specified coma-separated
list of categories. This option is useful while you write new catalog
files. The available categories follow:
Note: The default category is ALL.
|
-g level | Specifies the verbosity of the debug traces, as an integer in the range of 0 (no debug traces) - 3 (most verbose level). The default level is 0. |
path | Specifies the path on the local system that contains the list of profiles that are to be returned in the output. |
-q | Allows users to ignore the nonfatal warning
messages. The ignored messages are not displayed on the screen. This
is an optional flag. Note: This flag cannot be used with the -q flag.
|
Exit Status
Item | Description |
---|---|
0 | The command completed successfully. |
>0 | An error occurred. |
Security
Access Control: This command should grant execute (x) access only to the root user and members of the security group. This command should be installed as a program in the trusted computing base (TCB). The command should be owned by the root user with the setuid (SUID) bit set.
- aix.security.user.audit
- aix.security.role.assign
- aix.security.group.change
- aix.security.user.change
Files Accessed:
Mode | File |
---|---|
rw | /etc/passwd |
rw | /etc/security/user |
rw | /etc/security/user.roles |
rw | /etc/security/limits |
rw | /etc/security/environ |
rw | /etc/group |
rw | /etc/security/group |
r | /usr/lib/security/artexlist.default |
x | /usr/lib/security/artexlist.sys |
Auditing Events:
Event | Information |
---|---|
USER_Create | user |
Examples
The following example illustrates
how to list the sample profiles from the default path /etc/security/artex/samples
.
artexlist
The following example illustrates how to list the profiles using environment variable ARTEX_PROFILE_PATH.
export ARTEX_PROFILE_PATH=”/tmp:/$HOME/profiles”
artexlist
The following example illustrates how to list
the profiles from /data/profiles
directory.
artexlist /data/profiles
The following example illustrates how to list the profiles from an LDAP server and from a local system.
artexlist –l
The following example illustrates how to list the catalogs installed on the system.
artexlist –c