X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/dfb9598282b677ead60f91c14f5e96405735d42f..adabb565d5cc6d5a5da9f019ba0cf8620425ca2b:/doc/install/setup-login.html.textile.liquid?ds=inline diff --git a/doc/install/setup-login.html.textile.liquid b/doc/install/setup-login.html.textile.liquid index b88ba49984..c9e65ca7e1 100644 --- a/doc/install/setup-login.html.textile.liquid +++ b/doc/install/setup-login.html.textile.liquid @@ -9,21 +9,47 @@ Copyright (C) The Arvados Authors. All rights reserved. SPDX-License-Identifier: CC-BY-SA-3.0 {% endcomment %} -# "Option 1: Google login through Arvados controller":#controller -# "Option 2: Separate single-sign-on (SSO) server (Google, LDAP, local database)":#sso +Select one of the following login mechanisms for your cluster. -h2(#controller). Option 1: Google login through Arvados controller +# If all users will authenticate with Google, "configure Google login":#google. +# If all users will authenticate using PAM as configured on your controller node, "configure PAM":#pam. +# If you need to enable multiple authentication methods, or your backend can't be configured as a PAM service on your controller node, "configure a separate single sign-on (SSO) server":#sso. + +h2(#google). Google login + +With this configuration, users will sign in with their Google accounts. First, visit "Setting up Google auth.":google-auth.html -Next, copy the values of *Client ID* and *Client secret* from the Google Developers Console into @Login.GoogleClientID@ and @Login.GoogleClientSecret@ of @config.yml@ : +Next, copy the values of *Client ID* and *Client secret* from the Google Developers Console into @Login.GoogleClientID@ and @Login.GoogleClientSecret@ of @config.yml@: + +
+    Login:
+      GoogleClientID: "0000000000000-zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz.apps.googleusercontent.com"
+      GoogleClientSecret: "zzzzzzzzzzzzzzzzzzzzzzzz"
+
+ +h2(#pam). PAM (experimental) + +With this configuration, authentication is done according to the Linux PAM ("Pluggable Authentication Modules") configuration on your controller host. + +Enable PAM authentication in @config.yml@:
     Login:
-      GoogleClientID: ""
-      GoogleClientSecret: ""
+      PAM: true
 
-h2(#sso). Option 2: Separate single-sign-on (SSO) server (supports Google, LDAP, local database) +Check the "default config file":{{site.baseurl}}/admin/config.html for more PAM configuration options. + +The default PAM configuration on most Linux systems uses the local password database in @/etc/shadow@ for all logins. In this case, in order to log in to Arvados, users must have a shell account and password on the controller host itself. This can be convenient for a single-user or test cluster. + +PAM can also be configured to use different backends like LDAP. In a production environment, PAM configuration should use the service name ("arvados" by default) to set a separate policy for Arvados logins: generally, Arvados users should not have shell accounts on the controller node. + +For information about configuring PAM, refer to the "PAM System Administrator's Guide":http://www.linux-pam.org/Linux-PAM-html/Linux-PAM_SAG.html. + +h2(#sso). Separate single-sign-on (SSO) server + +With this configuration, Arvados passes off authentication to a separate SSO server that supports Google, LDAP, and a local password database. See "Install the Single Sign On (SSO) server":install-sso.html