Let PAM to provision users on their first login

David Lang david at lang.hm
Sat Nov 21 14:03:06 AEDT 2026


Nico Williams wrote:

> What is a serious problem is that none of this will work for anything
> other than password or keyboard-interactive userauth because the point
> is that either the PAM/NSS modules will need user credentials, or an
> interactive user account sign-up is involved, and the former can't work
> with non-interactive userauth due to limitations of those userauth
> methods and/or limitations of PAM, and the latter is strictly
> interactive and requires keyboard-interactive userauth.

even if it only works for userid/password, getting an account setup with one 
userid/password manual login and then being able to use other credentials for 
automated access after that seems a bit step forward.

(now, I personally will never tie any of my machines to a provider like google 
for local logins, but I can see cases where it would be appropriate)

David Lang



More information about the openssh-unix-dev mailing list