freebsd_amp_hwpstate/usr.bin/chpass
Mike Pritchard d33c4953e7 Print some warnings if root invokes chpass and sets the
shell to one of the following:

- a non-existent file
- a non-regular file
- a file without any execute bits set

The shell is still set to whatever they entered even if the above
conditions exist (hey, it is the super user doing this after all :-),
but this might give the admin. some warning that they are about to screw
themselves and give them a chance to fix it before it is too late.

Inspired by: some new FreeBSD user on USENET who set his root shell
  to a shell that doesn't exist and now can't gain access to root (don't
  worry, I sent him some mail on how to recover from this).
1996-04-11 05:30:18 +00:00
..
Makefile Merge in changes to support the new rpc.yppasswdd(8) and fix a few bugs. 1996-02-23 16:08:59 +00:00
chpass.1 Merge in changes to support the new rpc.yppasswdd(8) and fix a few bugs. 1996-02-23 16:08:59 +00:00
chpass.c Merge in changes to support the new rpc.yppasswdd(8) and fix a few bugs. 1996-02-23 16:08:59 +00:00
chpass.h
edit.c Merge in changes to support the new rpc.yppasswdd(8) and fix a few bugs. 1996-02-23 16:08:59 +00:00
field.c Print some warnings if root invokes chpass and sets the 1996-04-11 05:30:18 +00:00
pathnames.h
pw_copy.c
pw_copy.h
pw_yp.c Fix small bug in get_yp_master(): this function is used to look for 1996-03-04 15:34:43 +00:00
pw_yp.h Merge in changes to support the new rpc.yppasswdd(8) and fix a few bugs. 1996-02-23 16:08:59 +00:00
table.c
util.c