freebsd_amp_hwpstate/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
..
Makefile Add new option to chpass: -e "expire" ; change the account expire time 1996-08-12 14:45:26 +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 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 Print some warnings if root invokes chpass and sets the 1996-04-11 05:30:18 +00:00
pathnames.h
pw_copy.c Take the ypchfn/ypchsh stuff that was removed from passwd 1995-08-13 16:12:28 +00:00
pw_copy.h
pw_yp.c In use_yp(), call _yp_check() to make ultra, super-duper sure that NIS 1996-05-07 21:05:12 +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 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