freebsd-skq/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
..
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 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
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
Makefile Merge in changes to support the new rpc.yppasswdd(8) and fix a few bugs. 1996-02-23 16:08:59 +00:00
pathnames.h BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
pw_copy.c Take the ypchfn/ypchsh stuff that was removed from passwd 1995-08-13 16:12:28 +00:00
pw_copy.h BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
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 Somewhere along the line, somebody decided to make the 'full name' field 1995-06-23 16:24:34 +00:00
util.c Delete bogus referneces to timezone code internal header file `tzfile.h', 1995-08-07 19:17:46 +00:00