Red Hat Training

A Red Hat training course is available for Red Hat Satellite

42.24. Method: usePamAuthentication

Description

Toggles whether or not a user uses PAM authentication or basic Red Hat Network authentication.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • string login - User's login name
  • int pam_value
    • 1 to enable PAM authentication
    • 0 to disable
Returns

The following return values are available for this method:

  • int - 1 on success, exception thrown otherwise