6b18c72cfc
from a script as if it was done in the interactive editor. When reassembling the gecos string, trim any excess trailing commas, they look ugly in the passwd file. :-) Have a simple Makefile tweak to prevent mortal users from changing their fullname. As ISP's we have seem some real bizzare stuff here.. When decoding the change/expire string, allow the month number as a synonym for the name of the month.. (ie: 1 as well as Jan or January) Note that using numbers means there's a chance that you can get bitten if you're not used to the American DD-MM-YY order. |
||
---|---|---|
.. | ||
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 |