pam_gss_s4u(7) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

pam_gss_s4u(7)

pa...u(7)Standards, Environments, Macros, Character Sets, and miscellanpya...u(7)

NAME
       pam_gss_s4u - set credential PAM module for Services For Users (S4U)

SYNOPSIS
       pam_gss_s4u.so.1 [debug] [nowarn]

DESCRIPTION
       The  pam_gss_s4u  module  attempts  to  obtain credentials on behalf of
       PAM_USER by using the Generic Security Services API (GSS-API)  for  the
       Services  for User (S4U) protocol. This would be beneficial for non-lo‐
       gin processes that require services secured by Kerberos, such as  those
       executed from cron(8) or at(1).

   GSS-API Set Credential Module
       The pam_gss_s4u module provides the set credential function pam_sm_set‐
       cred().  The credentials can be set from initial authentication creden‐
       tials using the host's keys by stacking the  pam_krb5_keytab(7)  module
       before  pam_gss_s4u(7).  Subsequently, these credentials can be used to
       obtain credentials for itself on behalf of a user,  S4U2Self.  The  re‐
       sulting credentials can be used to obtain a service ticket for a target
       service on behalf of the user, S4U2Proxy.


       The  following  options can be passed to the pam_gss_s4u set credential
       module:

       debug     Provides syslog(3C) debugging information at LOG_DEBUG level.


       nowarn    Turns off warning messages.


   GSS-API Authentication Module
       The pam_gss_s4u module also provides the  authentication  function  for
       pam_sm_authenticete(). This function returns PAM_IGNORE.

RETURN VALUES
       The following values are returned for pam_sm_setcred():

       PAM_CRED_UNAVAIL    The initial authentication credentials does not ex‐
                           ist.


       PAM_SUCCESS         Successfully  obtained S4U credentials for the user
                           associated with PAM_USER.


       PAM_SYSTEM_ERR      System error.


       PAM_USER_UNKNOWN    The user associated with PAM_USER is not  found  in
                           the database.


EXAMPLES
       Example  1  Set  Credential for Initial Authentication Through Kerberos
       Key Table File Optionally Through S4U Requests



       The following is an excerpt of a sample /etc/pam.d/cron file:


         auth definitive   pam_user_policy.so.1
         auth required     pam_unix_auth.so.1
         auth required     pam_unix_cred.so.1
         auth requisite    pam_krb5_keytab.so.1
         auth optional     pam_gss_s4u.so.1




       Given that set credentials uses the same  stack  as  authenticate,  the
       above  will  provision  Kerberos credentials through the successful au‐
       thentication of the keys found in  the  system's  key  table  file  via
       pam_krb5_keytab(7). Subsequently, these credentials will be used to ob‐
       tain S4U credentials for PAM_USER.

FILES
       /etc/security/pam_policy/gss_s4u

           A pam.conf fragment suitable for use with pam_user_policy(7).


ATTRIBUTES
       See attributes(7) for a description of the following attributes:

       tab()  box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
       TRIBUTE VALUE  _  Availabilityservice/security/kerberos-5  _  Interface
       StabilityCommitted


SEE ALSO
       kinit(1), syslog(3C), libpam(3LIB), pam(3PAM), pam_sm(3PAM), pam_sm_au‐
       thenticate(3PAM),   pam_sm_setcred(3PAM),  pam.conf(5),  attributes(7),
       pam_krb5(7), pam_krb5_keytab(7), pam_user_policy(7)

HISTORY
       The pam_gss_s4u module was introduced in Oracle  Solaris  11.2.0.  This
       included support for the debug and nowarn options.

Oracle Solaris 11.4               15 Mar 2023                        pa...u(7)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3