create_pam_app

Use the create_pam_app command to create a new PAM application access right in the currently selected zone.

Syntax

create_pam_app name application description

Options

This command takes no options.

Arguments

This command takes the following arguments:

Argument Type Description

name

string

Required. Specifies the name to assign to the new PAM application access right.

application

string

Required. Specifies the name of the PAM application that is allowed to use the adclient PAM authentication service. The name can be literal, or it can contain ? or * wild card characters to specify multiple applications.

Note that in a classic zone, setting the application field changes the name of the PAM application right. For example, assume you create a new PAM application right in a classic zone using a command like this:

create_pam_app myftp newftp “Sample PAM FTP application”

The PAM application right itself will be renamed as newftp:

list_pam_apps

newftp : Sample PAM FTP application

Therefore, in a classic zone, you should always specify the same string for the name and application arguments. In a hierarchical zone, you can specify different strings for the arguments.

description

string

Optional. Specifies the text describing the PAM application.

Return value

This command returns nothing if it runs successfully.

Examples

create_pam_app testvi vi {Test UNIX command vi}

Related Tcl library commands

None.