mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-24 01:57:06 +01:00
While I really liked the error message one received from `passwd'
when it could not determine the source of the user's passwd(5) entry, it might be somewhat confusing now that we can have sources that are not compiled into libc.
This commit is contained in:
parent
361efec23f
commit
3fcf3dd63a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113693
@ -119,13 +119,10 @@ main(int argc, char *argv[])
|
||||
fprintf(stderr, "Changing NIS password for %s\n",
|
||||
pwd->pw_name);
|
||||
break;
|
||||
case _PWF_HESIOD:
|
||||
errx(1, "can't change Hesiod password");
|
||||
break;
|
||||
default:
|
||||
/* specieist! */
|
||||
errx(1, "can't change little green men's passwords (0x%x)",
|
||||
pwd->pw_fields);
|
||||
/* XXX: Green men ought to be supported via PAM. */
|
||||
errx(1,
|
||||
"Sorry, `passwd' can only change passwords for local or NIS users.");
|
||||
}
|
||||
|
||||
#define pam_check(func) do { \
|
||||
|
Loading…
Reference in New Issue
Block a user