Date: Mon, 12 Aug 1996 07:45:30 -0700 (PDT) From: Peter Wemm <peter> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/chpass Makefile chpass.c edit.c table.c util.c Message-ID: <199608121445.HAA22502@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 96/08/12 07:45:28 Modified: usr.bin/chpass Makefile chpass.c edit.c table.c util.c Log: 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. Revision Changes Path 1.9 +3 -0 src/usr.bin/chpass/Makefile 1.11 +18 -7 src/usr.bin/chpass/chpass.c 1.8 +3 -0 src/usr.bin/chpass/edit.c 1.4 +4 -0 src/usr.bin/chpass/table.c 1.5 +10 -6 src/usr.bin/chpass/util.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608121445.HAA22502>