[
https://issues.apache.org/jira/browse/DRILL-2674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14482192#comment-14482192
]
Venki Korukanti commented on DRILL-2674:
----------------------------------------
To setup PAM:
1. Download the tar.gz file for Linux platform from
{{http://sourceforge.net/projects/jpam/files/jpam/jpam-1.1/}}
2. Untar and copy the .so file into a directory {{/some/directory/}}
3. Run {{export DRILLBIT_JAVA_OPTS=" -Djava.library.path=/some/directory/"}}
4. Add the following to {{<DRILLINSTALL_HOME>/conf/drill-override.conf}} under
{{drill.exec}} node
{code}
security.user.auth {
enabled: true,
packages += "org.apache.drill.exec.rpc.user.security",
impl: "pam",
pam_profiles: [ "sudo", "login" ]
},
{code}
5. Start the Drillbit using {{<DRILLINSTALL_HOME>/bin/drillbit.sh start}}
Currently working on making the following steps automatic as part of build and
startup so that user doesn't need to setup anything when running Drillbit
running on a Linux platform.
> Add user authenticator interface and PAM based implementation
> -------------------------------------------------------------
>
> Key: DRILL-2674
> URL: https://issues.apache.org/jira/browse/DRILL-2674
> Project: Apache Drill
> Issue Type: Sub-task
> Components: Client - JDBC
> Reporter: Venki Korukanti
> Assignee: Venki Korukanti
> Fix For: 0.9.0
>
> Attachments: DRILL-2674-2.patch
>
>
> Currently Drill doesn't authenticate users connecting through JDBC/ODBC
> clients.
> This JIRA is to define an interface of userName/password based authenticator
> interface and provide a Pluggable Authentication Module (PAM) based
> implementation of the user authenticator.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)