freebsd-skq/usr.bin/chpass
Bill Paul e49249921c Fix for PR #3141: check for NULL before strdup()ing pw->pw_class.
(I'm not sure why this happens, though I suspect it may be because
the server is configured with only passwd maps instead of both passwd
and master.passwd maps. This is allowed, but I think in this case
pw_class is left NULL, hence the problem.)

Also applied similar patch to chpass/pw_yp.c just for paranoia's sake.
1997-03-29 20:29:12 +00:00
..
chpass.1 Sort cross references. 1997-01-15 23:25:55 +00:00
chpass.c compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
chpass.h
edit.c pw_scan() was being used to convert a string into a struct passwd, with 1996-11-15 17:36:20 +00:00
field.c Print some warnings if root invokes chpass and sets the 1996-04-11 05:30:18 +00:00
Makefile If an administrator somehow manages to break the hardlinks 1997-02-26 05:31:52 +00:00
pathnames.h
pw_copy.c *blush* Whoops: got the format strings wrong. 1996-10-22 03:43:34 +00:00
pw_copy.h
pw_yp.c Fix for PR #3141: check for NULL before strdup()ing pw->pw_class. 1997-03-29 20:29:12 +00:00
pw_yp.h Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
table.c Add new option to chpass: -e "expire" ; change the account expire time 1996-08-12 14:45:26 +00:00
util.c Add new option to chpass: -e "expire" ; change the account expire time 1996-08-12 14:45:26 +00:00