HomeFreeBSD

PAM: support password changes even when not mounted

Description

PAM: support password changes even when not mounted

There's usually no requirement that a user be logged in for changing
their password, so let's not be surprising here.

We need to use the fetch_lazy mechanism for the old password to avoid
a double prompt for it, so that mechanism is now generalized a bit.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Felix Dörre <felix@dogcraft.de>
Signed-off-by: Val Packett <val@packett.cool>
Closes #14834

Details

Provenance
val_packett.coolAuthored on May 6 2023, 1:17 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jun 1 2023, 12:01 AM
Parents
rGe3ba6b93de32: PAM: add 'uid_min' and 'uid_max' options for changing the uid range
Branches
Unknown
Tags
Unknown