X-Git-Url: https://git.cameronkatri.com/pw-darwin.git/blobdiff_plain/6864202685c1b4296896ae4f1aa0cf1e30a4d9f0..78ed20543de7f07e92480d9d65202a25b4abcbcf:/pw/pw_user.c?ds=inline diff --git a/pw/pw_user.c b/pw/pw_user.c index 4d7e7ce..def238c 100644 --- a/pw/pw_user.c +++ b/pw/pw_user.c @@ -573,7 +573,7 @@ pw_user(struct userconf * cnf, int mode, struct cargs * args) lc = login_getpwclass(pwd); if (lc == NULL || - login_setcryptfmt(lc, "md5", NULL) == NULL) + login_setcryptfmt(lc, "sha512", NULL) == NULL) warn("setting crypt(3) format"); login_close(lc); pwd->pw_passwd = pw_password(cnf, args, pwd->pw_name);