summaryrefslogtreecommitdiffstats
path: root/chpass/util.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary castKevin Lo2012-02-141-0/+182
|
* Create the altix project branch. The altix project will add supportMarcel Moolenaar2010-03-101-182/+0
| | | | | | | for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting is a two-module system, consisting of a base compute module and a CPU expansion module. SGI's NUMAFlex architecture can be an excellent platform to test CPU affinity and NUMA-aware features in FreeBSD.
* Remove unused includes. Make it WARNS=6 friendly. Concerning bin/2442, makePhilippe Charnier2004-01-181-6/+32
| | | | | | | | | | a new function dup_shell() to replace ok_shell() and make it unconditionnally strdup() its result to make the caller's code simplier. Change ok_shell() to just return an integer value suitable for tests (it was used mainly for that purpose). Do not use strdup() in the caller's code but rely on dup_shell() that will do the job for us. PR: bin/2442
* Consistently use FBSDIDDavid E. O'Brien2002-06-301-2/+3
|
* Use libutil and libypclnt for all passwd manipulation and NIS needs.Dag-Erling Smørgrav2002-05-081-1/+7
| | | | Sponsored by: DARPA, NAI Labs
* Fix warns, ANSIfy, use __FBSDID(), sort headers.Mark Murray2002-03-241-14/+10
|
* Fix a bug that prevents "00" being used as a valid year. Why bother inCrist J. Clark2002-03-181-1/+1
| | | | | | | | 2002? It is a bug. Might as well close the PR. PR: misc/14511 Submitted by: Mike Pritchard <mpp@mpp.pro-ns.net> MFC after: 3 days
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
|
* Allow two digit years 1969-2068Daniel O'Callaghan1999-01-181-3/+6
|
* Add rcsid. Correct -Wall warning.Philippe Charnier1998-03-231-1/+5
|
* Add new option to chpass: -e "expire" ; change the account expire timePeter Wemm1996-08-121-6/+10
| | | | | | | | | | | | | | | 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.
* Delete bogus referneces to timezone code internal header file `tzfile.h',Garrett Wollman1995-08-071-5/+4
| | | | which is no longer bogusly installed in /usr/include.
* Fix chpass so that it doesn't advance the passwordMike Pritchard1995-07-161-11/+9
| | | | | change and expire dates by 1 day anytime root edits a user that has a change/expire date set.
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-1/+1
|
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-271-0/+145