summaryrefslogtreecommitdiffstats
path: root/pw/psdate.c
Commit message (Collapse)AuthorAgeFilesLines
* pw(8): correct expiration period handling and command line overridesEugene Grosbein2017-12-091-1/+1
| | | | | | | | | | | | | to preconfigured values for -e, -p and -w flags. Use non-negative symbols instead of magic values in passwd_val/pw_password functions. PR: 223431 Submitted by: Yuri Pankov (in part, patch for the manual) Reported by: mav (mentor) MFC after: 3 days Relnotes: yes
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended.
* Really restore the old behaviour for pw usermod -mBaptiste Daroussin2017-01-221-5/+1
| | | | | | | | It again reinstall missing skel files without overwriting changed one Add a regression test about it Reported by: ae MFC after: 3 days
* Cleanup a bit includesBaptiste Daroussin2015-08-021-3/+2
|
* Remove dead codeBaptiste Daroussin2015-07-051-15/+0
|
* Also validate hours via strptime_l(3)Baptiste Daroussin2015-07-051-51/+40
| | | | | Simplify the code, by only using one parser, ensure the dates (hours and dates) are valid
* Validate expiration datesBaptiste Daroussin2015-07-051-0/+288
| | | | Use strptime_l(3) to validate the dates provided in input
* Create the altix project branch. The altix project will add supportMarcel Moolenaar2010-03-101-295/+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.
* Use strlcpy(3) to replace the idiomaticRobert Drehmel2004-06-171-10/+6
| | | | | | | strncpy(d, s, l); d[l - 1] = '\0'; statements.
* Localize time/date.Andrey A. Chernov2000-06-221-10/+10
| | | | | Use ISO 8601 date in logs. Fix wrong argument type in ctype functions.
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
|
* Fix date parsing to allow '0' (none) date value.David Nugent1999-03-151-3/+2
|
* Use err(3) instead of local redefinition. Add rcsid string.Philippe Charnier1997-10-101-2/+5
|
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Copyright update by the author, to be more in line with our sampleJoerg Wunsch1996-12-101-12/+6
| | | | | | copyright. Submitted by: David Nugent
* pw(8) -- a backend utility to manage the user and group databases.Joerg Wunsch1996-12-091-0/+303
sysinstall's new User&group menu will use it, hence it's a 2.2 candidate despite of providing new functionality. Submitted by: David L. Nugent, <davidn@blaze.net.au>