Define a PAM access right to allow logging on

The default UNIX Login role allows users to log on using a password or without a password in an unrestricted environment. If you are creating a role for a service account, you can use PAM access rights to control the specific commands users can use to log in. To illustrate controlling how users log on, this example of a restricted role for the oracle service account only allows users to log on with ssh.

To define a PAM access right for a specific application:

  1. Open Access Manager.
  2. Expand Zones and the individual parent or child zones required to select the zone name where you want to create the new PAM access right.
  3. Expand Authorization > UNIX Right Definitions.
  4. Select PAM Access, right-click, then click Add PAM Access Right.
  5. Type a name and, optionally, a description of the PAM application for which you are adding an access right.

    For the Application field, type the platform-specific name for the PAM application as defined in the PAM configuration file or PAM directory. For example, type ssh or sshd. You can also use wildcards in this field to perform pattern matching for the application name.

  6. Click OK to save the access right for this PAM-enabled application.