mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-29 08:08:37 +00:00
d33c4953e7
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). |
||
---|---|---|
.. | ||
chpass.1 | ||
chpass.c | ||
chpass.h | ||
edit.c | ||
field.c | ||
Makefile | ||
pathnames.h | ||
pw_copy.c | ||
pw_copy.h | ||
pw_yp.c | ||
pw_yp.h | ||
table.c | ||
util.c |