Abstract how to look up user password to be more flexible
This adds user_password() to abstract how the user's password is looked up. If spwd is not available, this will read the shadow file for the user's shadow entry. This will then facilitate idempotent password changes on hosts without spwd.
Showing
Please
register
or
sign in
to comment