Project

General

Profile

Actions

Bug #16781

closed

webshell PAM should send "password:" or "token:" prompt

Added by Peter Amstutz over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Low
Assigned To:
-
Category:
-
Target version:
Story points:
-

Description

This should send a prompt so that webshell javascript can wait for it and send the token at the right time.


Related issues 1 (0 open1 closed)

Related to Arvados - Bug #16773: webshell sends token too earlyClosedActions
Actions #1

Updated by Peter Amstutz over 4 years ago

  • Description updated (diff)
Actions #2

Updated by Peter Amstutz over 4 years ago

  • Description updated (diff)
Actions #3

Updated by Peter Amstutz over 4 years ago

  • Related to Bug #16773: webshell sends token too early added
Actions #4

Updated by Peter Amstutz over 4 years ago

  • Assigned To set to Peter Amstutz
Actions #5

Updated by Peter Amstutz over 4 years ago

  • Priority changed from Normal to Low
  • Assigned To deleted (Peter Amstutz)
  • Status changed from New to Closed
  • Category deleted (Login)

The golang PAM does this already

Actions #6

Updated by Tom Clegg over 4 years ago

Our config examples for the Python-based PAM module (in the package and on the install doc page) used to have the "noprompt" option. Without that, it would prompt "Arvados API token: ".

Instead of pam_conv() the new Go-based PAM module uses pam_get_authtok(...,NULL) which "uses pre-defined prompts". https://man7.org/linux/man-pages/man3/pam_get_authtok.3.html

Actions #7

Updated by Peter Amstutz over 4 years ago

Tom Clegg wrote:

Our config examples for the Python-based PAM module (in the package and on the install doc page) used to have the "noprompt" option. Without that, it would prompt "Arvados API token: ".

Instead of pam_conv() the new Go-based PAM module uses pam_get_authtok(...,NULL) which "uses pre-defined prompts". https://man7.org/linux/man-pages/man3/pam_get_authtok.3.html

I updated the workbench webshell javascript integration to wait for "assword:" as the trigger to send the authentication token. Do we need to document that?

Actions

Also available in: Atom PDF