[ https://issues.apache.org/jira/browse/HIVE-6466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vaibhav Gumashta updated HIVE-6466: ----------------------------------- Description: More on PAM in these articles: http://www.tuxradar.com/content/how-pam-works https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Managing_Smart_Cards/Pluggable_Authentication_Modules.html Usage from JPAM api: http://jpam.sourceforge.net/JPamUserGuide.html#id.s7.1 *Release notes:* PAM support allows Hive to use existing PAM services for authentication. PAM requires the native [JPAM|http://sourceforge.net/projects/jpam/files/jpam/jpam-1.1/] library. To enable PAM usage: 1. Download the JPAM native library [JPAM|http://sourceforge.net/projects/jpam/files/jpam/jpam-1.1/] for the relevant architecture. 2. Unzip and copy libjpam.so to a directory (<libjmap-directory>) on the system. 3. Add the directory to the LD_LIBRARY_PATH environment variable like so: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<libjmap-directory> 4. Set the "hive.server2.authentication" to PAM in hive-site.xml 5. Set the "hive.server2.authentication.pam.services" to a list of comma separated PAM services that will be used. Note that a file with the same name as the PAM service must exist in /etc/pam.d 6. Start HiveServer2 was: More on PAM in these articles: http://www.tuxradar.com/content/how-pam-works https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Managing_Smart_Cards/Pluggable_Authentication_Modules.html Usage from JPAM api: http://jpam.sourceforge.net/JPamUserGuide.html#id.s7.1 > Add support for pluggable authentication modules (PAM) in Hive > -------------------------------------------------------------- > > Key: HIVE-6466 > URL: https://issues.apache.org/jira/browse/HIVE-6466 > Project: Hive > Issue Type: New Feature > Components: HiveServer2 > Affects Versions: 0.13.0 > Reporter: Vaibhav Gumashta > Assignee: Vaibhav Gumashta > Fix For: 0.13.0 > > Attachments: HIVE-6466.1.patch, HIVE-6466.2.patch > > > More on PAM in these articles: > http://www.tuxradar.com/content/how-pam-works > https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Managing_Smart_Cards/Pluggable_Authentication_Modules.html > Usage from JPAM api: http://jpam.sourceforge.net/JPamUserGuide.html#id.s7.1 > *Release notes:* > PAM support allows Hive to use existing PAM services for authentication. PAM > requires the native > [JPAM|http://sourceforge.net/projects/jpam/files/jpam/jpam-1.1/] library. To > enable PAM usage: > 1. Download the JPAM native library > [JPAM|http://sourceforge.net/projects/jpam/files/jpam/jpam-1.1/] for the > relevant architecture. > 2. Unzip and copy libjpam.so to a directory (<libjmap-directory>) on the > system. > 3. Add the directory to the LD_LIBRARY_PATH environment variable like so: > export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<libjmap-directory> > 4. Set the "hive.server2.authentication" to PAM in hive-site.xml > 5. Set the "hive.server2.authentication.pam.services" to a list of comma > separated PAM services that will be used. Note that a file with the same name > as the PAM service must exist in /etc/pam.d > 6. Start HiveServer2 > -- This message was sent by Atlassian JIRA (v6.2#6252)