Merge branch 'patch-1' of https://github.com/mr-c/arvados into mr-c-patch-1
[arvados.git] / lib / pam / pam-configs-arvados
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 # This file is packaged as /usr/share/pam-configs/arvados-go; see build/run-library.sh
6
7 # 1. Run `pam-auth-update` and choose Arvados authentication
8 # 2. In /etc/pam.d/common-auth, change "api.example" to your ARVADOS_API_HOST
9 # 3. In /etc/pam.d/common-auth, change "shell.example" to this host's hostname
10 #    (as it appears in the Arvados virtual_machines list)
11
12 Name: Arvados authentication
13 Default: yes
14 Priority: 256
15 Auth-Type: Primary
16 Auth:
17         [success=end default=ignore]    /usr/lib/pam_arvados.so api.example shell.example
18 Auth-Initial:
19         [success=end default=ignore]    /usr/lib/pam_arvados.so api.example shell.example