1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: Apache-2.0
5 # 1. Copy the contents of this file *minus all comment lines* to /usr/share/pam-configs/arvados-go
6 # 2. Run `pam-auth-update` and choose Arvados authentication
7 # 3. In /etc/pam.d/common-auth, change "api.example" to your ARVADOS_API_HOST
8 # 4. In /etc/pam.d/common-auth, change "shell.example" to this host's hostname
9 # (as it appears in the Arvados virtual_machines list)
11 Name: Arvados authentication
16 [success=end default=ignore] /usr/lib/pam_arvados.so api.example shell.example
18 [success=end default=ignore] /usr/lib/pam_arvados.so api.example shell.example