HardenedBSD/usr.bin/chpass
Peter Wemm 366982a550 Add new option to chpass: -e "expire" ; change the account expire time
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.
1996-08-12 14:45:26 +00:00
..
chpass.1
chpass.c Add new option to chpass: -e "expire" ; change the account expire time 1996-08-12 14:45:26 +00:00
chpass.h
edit.c Add new option to chpass: -e "expire" ; change the account expire time 1996-08-12 14:45:26 +00:00
field.c
Makefile Add new option to chpass: -e "expire" ; change the account expire time 1996-08-12 14:45:26 +00:00
pathnames.h
pw_copy.c
pw_copy.h
pw_yp.c
pw_yp.h
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