1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-02 08:42:48 +00:00
freebsd/usr.bin/passwd
Bill Paul 8a363d18bb Patch to fix PR #518. In a system with no NIS, passwd will complain
that it can't contact an NIS server when asked to change the password
of an invalid user. It should say 'unknown user' instead.

The fix is to check for the _PW_KEYYPENABLED flag in the password
database and only roll over into the yppasswd stuff if the flag
is enabled (this means passwd will not behave as yppasswd if
there are no +::::::::: entries in /etc/master.passwd). If
NIS is enabled but the user says 'passwd -l foouser' where
foouser exists in the NIS maps, but not in /etc/master.passwd,
we also say 'unknown user.' This is so we don't outsmart ourselves:
specifying the -l flag restricts passwd to the local password database
even if NIS is enabled.

This change should probably be merged into 2.1.
1995-06-16 03:33:10 +00:00
..
extern.h Update for new kpasswd interface. 1995-01-20 22:03:36 +00:00
kpasswd_proto.h BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
krb_passwd.c BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
local_passwd.c Always make the salt a 8 char string (incl '\0') for algorithms that can use it 1994-11-06 21:08:19 +00:00
Makefile Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
passwd.1 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
passwd.c Patch to fix PR #518. In a system with no NIS, passwd will complain 1995-06-16 03:33:10 +00:00
yp_passwd.c Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
yppasswd.1 cleaned up and modified slightly to reflect changes 1995-02-01 23:47:04 +00:00